Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.7.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:MyEclipse 6.0.1
Glassfish v2 (Sun Application Server 9.1)
Windows XP Pro
Description
I have a simple EAR with an EJB-Jar with one session bean, and a WAR with one page and one managed session bean that uses injection to get an instance of the session EJB.
When I add ICEFaces capabilities to my web project, and deploy the EAR, EJB injection stops working. There are no error messages in the server's log related to this, it just simply stops injecting.
Here are the following configurations I have tried and the results:
JSF Capabilities Only: Injection Works
JSF and Facelets Capabilities: Injection Works
JSF and ICEFaces Capabilities (no Facelets): Injection Fails
JSF and ICEFaces and ICEFaces Facelets Capabilities: Injection Fails
When I add ICEFaces capabilities to my web project, and deploy the EAR, EJB injection stops working. There are no error messages in the server's log related to this, it just simply stops injecting.
Here are the following configurations I have tried and the results:
JSF Capabilities Only: Injection Works
JSF and Facelets Capabilities: Injection Works
JSF and ICEFaces Capabilities (no Facelets): Injection Fails
JSF and ICEFaces and ICEFaces Facelets Capabilities: Injection Fails
-
Hide
- JSF_ICEFaces.zip
- 4.16 MB
- Ryan Daniels
-
- JSF_ICEFaces/TestInject/.mymetadata 0.7 kB
- JSF_ICEFaces/TestInject/.project 1.0 kB
- JSF_ICEFaces/TestInject/.../application.xml 0.6 kB
- JSF_ICEFaces/TestInject/.../MANIFEST.MF 0.0 kB
- JSF_ICEFaces/TestInject.ear 3.89 MB
- JSF_ICEFaces/TestInjectEJB/.classpath 0.3 kB
- JSF_ICEFaces/TestInjectEJB/.mymetadata 0.2 kB
- JSF_ICEFaces/TestInjectEJB/.project 1 kB
- JSF_ICEFaces/.../com.genuitec.eclipse.persistence.jpa.prefs 0.2 kB
- JSF_ICEFaces/.../TestBean.class 0.5 kB
- JSF_ICEFaces/.../TestBeanLocal.class 0.2 kB
- JSF_ICEFaces/TestInjectEJB/.../MANIFEST.MF 0.0 kB
- JSF_ICEFaces/.../persistence.xml 0.5 kB
- JSF_ICEFaces/TestInjectEJB/.../TestBean.java 0.2 kB
- JSF_ICEFaces/.../TestBeanLocal.java 0.1 kB
- JSF_ICEFaces/TestInjectEJB/.../MANIFEST.MF 0.0 kB
- JSF_ICEFaces/.../persistence.xml 0.5 kB
- JSF_ICEFaces/TestInjectWeb/.classpath 0.5 kB
- JSF_ICEFaces/TestInjectWeb/.mymetadata 0.3 kB
- JSF_ICEFaces/TestInjectWeb/.project 1 kB
- JSF_ICEFaces/TestInjectWeb/.../BackBean.java 0.5 kB
- JSF_ICEFaces/TestInjectWeb/.../index.jsp 0.8 kB
- JSF_ICEFaces/TestInjectWeb/.../inject.jsp 1 kB
- JSF_ICEFaces/TestInjectWeb/.../inject.jspx 1 kB
- JSF_ICEFaces/TestInjectWeb/.../MANIFEST.MF 0.0 kB
- JSF_ICEFaces/.../.faces-config.mex 0.1 kB
- JSF_ICEFaces/.../BackBean.class 0.9 kB
- JSF_ICEFaces/.../faces-config.xml 0.4 kB
- JSF_ICEFaces/.../faces-config.xml.orig 0.5 kB
- JSF_ICEFaces/TestInjectWeb/.../web.xml 3 kB
-
Hide
- JSF_Only.zip
- 15 kB
- Ryan Daniels
-
- JSF_Only/TestInject/.mymetadata 0.7 kB
- JSF_Only/TestInject/.project 1.0 kB
- JSF_Only/TestInject/.../application.xml 0.6 kB
- JSF_Only/TestInject/META-INF/MANIFEST.MF 0.0 kB
- JSF_Only/TestInject.ear 5 kB
- JSF_Only/TestInjectEJB/.classpath 0.3 kB
- JSF_Only/TestInjectEJB/.mymetadata 0.2 kB
- JSF_Only/TestInjectEJB/.project 1 kB
- JSF_Only/.../com.genuitec.eclipse.persistence.jpa.prefs 0.2 kB
- JSF_Only/TestInjectEJB/.../TestBean.class 0.5 kB
- JSF_Only/.../TestBeanLocal.class 0.2 kB
- JSF_Only/TestInjectEJB/.../MANIFEST.MF 0.0 kB
- JSF_Only/TestInjectEJB/.../persistence.xml 0.5 kB
- JSF_Only/TestInjectEJB/.../TestBean.java 0.2 kB
- JSF_Only/.../TestBeanLocal.java 0.1 kB
- JSF_Only/TestInjectEJB/.../MANIFEST.MF 0.0 kB
- JSF_Only/TestInjectEJB/.../persistence.xml 0.5 kB
- JSF_Only/TestInjectWeb/.classpath 0.4 kB
- JSF_Only/TestInjectWeb/.mymetadata 0.3 kB
- JSF_Only/TestInjectWeb/.project 1 kB
- JSF_Only/TestInjectWeb/.../BackBean.java 0.5 kB
- JSF_Only/TestInjectWeb/WebRoot/index.jsp 0.8 kB
- JSF_Only/TestInjectWeb/.../inject.jsp 1 kB
- JSF_Only/TestInjectWeb/.../MANIFEST.MF 0.0 kB
- JSF_Only/TestInjectWeb/.../.faces-config.mex 0.1 kB
- JSF_Only/TestInjectWeb/.../BackBean.class 0.9 kB
- JSF_Only/TestInjectWeb/.../faces-config.xml 0.5 kB
- JSF_Only/TestInjectWeb/.../WEB-INF/web.xml 0.8 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This is the JSF project files and EAR after ICEFaces capabilities were added in which EJB injection does NOT work. Access the test page with:
http://localhost:8080/TestInjectWeb/inject.faces
Click Get Injection Result and the text box will indicate whether is succeeded or failed.
Show
Ryan Daniels
added a comment - This is the JSF project files and EAR after ICEFaces capabilities were added in which EJB injection does NOT work. Access the test page with:
http://localhost:8080/TestInjectWeb/inject.faces
Click Get Injection Result and the text box will indicate whether is succeeded or failed.
actually due to ICE-3372
Show
Philip Breau
added a comment - actually due to ICE-3372
This is the JSF only project files and EAR in which EJB injection DOES work. Access the test page with:
http://localhost:8080/TestInjectWeb/inject.faces
Click Get Injection Result and the text box will indicate whether it succeeded or failed.