Error Page Shows The Physical Path Of JSP file on 9iAS (Doc ID 431708.1)

Last updated on JULY 05, 2007

Applies to:

Oracle Clinical - Version: 4.5.0
Microsoft Windows

Symptoms

 Is there any workaround for  the display of the physical path with JSP file?

If we use any URL with nonexisting JSP page, it displays java stack error and displays the physical path of a file under the server root via a request for a non-existent .JSP file.

With example for Request URL:/test.jsp

http://<Domain>/test.jsp

We get the java stack like below and diaplay physical path of a file "d:\oracle\isuites\apache\apache\htdocs\a.jsp "

Exception:

java.io.FileNotFoundException: d:\oracle\isuites\apache\apache\htdocs\a.jsp (The system cannot
find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java, Compiled Code)
at oracle.jsp.provider.JspFilesystemResource.fromStream(JspFilesystemResource.java:153)
at oracle.jsp.provider.JspFilesystemResource.fromReader(JspFilesystemResource.java:169)
at oracle.jsp.app.JspAppLoader.fromReader(JspAppLoader.java:1851)
at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1107)
at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1005)
at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:671)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:337)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)

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