Hello,

sounds like a classloader issue as you're still using the JSF RI, at least according to the error message ("FacesContext not found" - MyFaces vs. "Cannot find FacesContext" - JSF RI; and of course the line numbers don't match).

regards,
Bernhard

On 11/10/2007 +0100,
Dave <[EMAIL PROTECTED]> wrote:
I upgraded to JBoss 4.2.2 GA from 4.0.5. and followed the following instruction to use MyFaces core instead of the built-in JSF ri.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces
But I got the RuntimeException: can not find FacesContext java.lang.RuntimeException: Cannot find FacesContext at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1796) at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1613) at org.apache.jsp.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:152)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211) Thanks for help.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Reply via email to