Welcome Page Gives Error "javax.servlet.jsp.JspException: Cannot find FacesContext" (Doc ID 555961.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 10.1.3.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

In the "Oracle JDeveloper 10g for Forms & PL/SQL Developers", page 473, topic "Set Up the
Application Entry Page
", you are requested to set up a Welcome Page for the Tuhra application.
If you follow all the steps exactly and access the application from the URL
http://<host:port>/tuhra (step 6), then the browser displays the following error:

500 Internal Server Error

javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)
at _home._jspService(_home.java:52)
[/home.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0)
].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
...

It works fine if you access the page with its full URL:
http://<host:port>/tuhra/faces/home.jsp


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms