virtual-directory setup causes Jspservlet: Unable To Dispatch To Requested Page: Exception:java.io.FileNotFoundException
(Doc ID 334419.1)
Last updated on JULY 20, 2018
Applies to:Oracle Containers for J2EE - Version 126.96.36.199.0 to 10.1.3.5.0 [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: Exception:java.io.FileNotFoundException:
/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