[jboss-user] [EJB 3.0] - java.lang.RuntimeException: Cannot find FacesContext

ruchi123456 do-not-reply at jboss.com
Thu May 31 10:14:27 EDT 2007


I am new to EJB 3.0 and jboss sever. Am really stuck. Would appreciate any help.
I am using JSF + ejb3.0 + jboss 4.2
My jsf was running fine on jboss 4.0.5 GA, but in jboss 4.2 i get the below Exception, when i try to access jsf from ie
Cannot find FacesContext
java.lang.RuntimeException: Cannot find FacesContext
	at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1797)
	at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1614)
	at org.apache.jsp.welcome_jsp._jspx_meth_f_005fview_005f0(welcome_jsp.java:106)
	at org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:83)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

---------------------------------------
Below is the listener in my web.xml
 <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

-------------------------------------------
Also i have placed myfaces library jars in web-inf/lib  folder of my application

Please suggest

Regards,
Ruchika


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050171#4050171

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050171



More information about the jboss-user mailing list