Issue Details (XML | Word | Printable)

Key: GLASSFISH-15225
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Sanjeeb Sahoo
Reporter: chaoslayer
Votes: 2
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
glassfish

[OSGi] CDI beans not accessible in web applications

Created: 15/Dec/10 11:11 PM   Updated: 27/Mar/13 03:53 PM
Component/s: cdi, OSGi-JavaEE
Affects Version/s: 3.1_b33
Fix Version/s: 4.0.1

Time Tracking:
Not Specified

File Attachments: 1. GZip Archive dummy-cdi-web-test.tar.gz (3 kB) 15/Dec/10 11:11 PM - chaoslayer
2. File dummy-web.war (1.76 MB) 23/Dec/10 04:15 PM - chaoslayer
3. XML File weld.faces-config.xml (0.7 kB) 17/Dec/10 11:01 AM - Sanjeeb Sahoo

Issue Links:
Dependency
 

Status Whiteboard:

Workaround: Use attached faces-config.xml

Tags: 3_1-exclude 3_1-next 3_1_1-scrubbed
Participants: chaoslayer, Sanjeeb Sahoo, Sivakumar Thyagarajan and TangYong


 Description  « Hide

This seems to be related to GLASSFISH-14842.

However as that bug seems to be fixed this could be introduced by the OSGi/CDI integration.

Attached a test project ( dummy-cdi-web-test.tar.gz ) which is a maven project building a WAB. To see the issue immediately try to access it like this:

http://localhost:8080/dummy-web/?name=John

The error I then get is:

/index.xhtml @12,69 value="#{dummyBean.name}": Target Unreachable, identifier 'dummyBean' resolved to null

The application worked fine at least with 3.1 promoted b06.



Sort Order: Ascending order - Click to sort in descending order
Sanjeeb Sahoo made changes - 16/Dec/10 07:02 AM
Field Original Value New Value
Assignee Sanjeeb Sahoo [ ss141213 ] Sivakumar Thyagarajan [ sivakumart ]
Sivakumar Thyagarajan made changes - 17/Dec/10 04:13 AM
Assignee Sivakumar Thyagarajan [ sivakumart ] Sanjeeb Sahoo [ ss141213 ]
Sanjeeb Sahoo made changes - 17/Dec/10 11:01 AM
Attachment weld.faces-config.xml [ 23954 ]
Priority Critical [ 2 ] Major [ 3 ]
Sanjeeb Sahoo made changes - 22/Dec/10 08:13 PM
Fix Version/s 3.2 [ 10969 ]
Tags 3_1-exclude
chaoslayer made changes - 23/Dec/10 04:16 PM
Attachment dummy-web.war [ 24052 ]
Sanjeeb Sahoo made changes - 27/Dec/10 10:19 AM
Link This issue depends on GLASSFISH-15353 [ GLASSFISH-15353 ]
Sanjeeb Sahoo made changes - 05/Jul/11 05:55 AM
Tags 3_1-exclude 3_1-exclude 3_1_1-scrubbed
Sanjeeb Sahoo made changes - 05/Jul/11 05:55 AM
Tags 3_1-exclude 3_1_1-scrubbed 3_1-exclude 3_1-next 3_1_1-scrubbed
Sanjeeb Sahoo made changes - 05/Jul/11 05:56 AM
Priority Major [ 3 ] Minor [ 4 ]
Status Whiteboard Workaround: Use attached faces-config.xml
Jill Sato made changes - 02/Dec/11 07:25 PM
Fix Version/s 4.0 [ 10970 ]
Fix Version/s 3.2 [ 10969 ]
TangYong made changes - 26/Mar/13 09:12 AM
Priority Minor [ 4 ] Major [ 3 ]
Component/s cdi [ 10637 ]
Sanjeeb Sahoo made changes - 26/Mar/13 11:47 AM
Fix Version/s 4.0.1 [ 16061 ]
Fix Version/s 4.0 [ 10970 ]