JSF FacesContext Error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrew_Amargo
Posted On:   Wednesday, August 16, 2006 05:48 AM

Hi, I just tried a JSF tutorial. I was able to deploy it but whenever I would access the JSP page, an error would occur. Below are the error messages. Does anyone encounter this type of problem? Thanks. java.lang.IllegalStateException: No FacesContext is available to process this request. This is most likely due to the request being sent to the wrong path. at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:159) at org.apache.jsp.greeting_jsp._jspx_meth_f_view_0(greeting_jsp.java:124) at org.apache.jsp.greeting_jsp._jspService(greeting_jsp.java:97) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.Ht   More>>

Hi,


I just tried a JSF tutorial. I was able to deploy it but whenever I would access the JSP page, an error would occur. Below are the error messages. Does anyone encounter this type of problem? Thanks.




			
java.lang.IllegalStateException: No FacesContext is available to process this request. This is most likely due to the request being sent to the wrong path.
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:159)
at org.apache.jsp.greeting_jsp._jspx_meth_f_view_0(greeting_jsp.java:124)
at org.apache.jsp.greeting_jsp._jspService(greeting_jsp.java:97)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:353)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)




regards,



andrew

   <<Less

Re: JSF FacesContext Error

Posted By:   Andrew_Amargo  
Posted On:   Wednesday, August 16, 2006 08:41 PM

please disregard this question. i just have to add the "/guess/" in the URL defined in web.xml. thanks
About | Sitemap | Contact