virtual-directory setup causes Jspservlet: Unable To Dispatch To Requested Page: Exception:java.io.FileNotFoundException
Last updated on MARCH 08, 2017
Applies to:Oracle Containers for J2EE - Version 220.127.116.11.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 03-Feb-2016***
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".
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