My Oracle Support Banner

virtual-directory setup causes Jspservlet: Unable To Dispatch To Requested Page: (Doc ID 334419.1)

Last updated on JULY 20, 2018

Applies to:

Oracle Containers for J2EE - Version to [Release AS10g to AS10gR3]
Information in this document applies to any platform.





was submitted and the response got was "Not Found".

The TestApache.jsp resided (as expected) in applications/myappl/myapplProject.


Researching the issue it was found that the file

j2ee/myoc4j/application-deployments/myappl/myoc4j_default_island_1/application.log showed the following error:

05/09/16 15:17:10 myappl: JspServlet: unable to dispatch to requested page:

/data/1012j2/j2ee/myoc4j/application-deployments/myappl/myapplProject/TestApache.jsp (No such file or directory).

The error was correct from the point of view the file was not there, but it was incorrect because the path used to locate the file was wrong.


The error was then caused by oc4j trying to locate the file in directory "application-deployments" when it was located in "applications".





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.