Hi,

 

We are currently upgrading our Tomcat from 5.5.23 to 7.0.32. 

The primary hurdle we are facing is with missing files(jsp), which
Tomcat 5.5.23 used to tolerate. 

When it encounters a page that tries to include a file that is missing
(Missing because the file needs to be loaded only conditionally - like
for specific locales) it throws the following error:

 

org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

javax.servlet.ServletException: File
"/application/MyInclude.jsp" not found

                at
org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.ja
va:412)

                at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)

                at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:305)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:210)

                at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:749)

                at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:605)

                at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:544)

                at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:954)

 

We have many such files and updating all the relevant files to correct
this seems to be practically impossible. Is there a way to turn off this
STRICT validation in the Tomcat, so that it tolerates the missing files?

 

Thanks and Regards,

George

 
Visit our Website at http://www.rmesi.co.in

This message is confidential. You should not copy it or disclose its contents 
to anyone. You may use and apply the information for the intended purpose only. 
Internet communications are not secure; therefore, RMESI does not accept legal 
responsibility for the contents of this message. Any views or opinions 
presented are those of the author only and not of RMESI. If this email has come 
to you in error, please delete it, along with any attachments. Please note that 
RMESI may intercept incoming and outgoing email communications. 

Freedom of Information Act 2000
This email and any attachments may contain confidential information belonging 
to RMESI.  Where the email and any attachments do contain information of a 
confidential nature, including without limitation information relating to trade 
secrets, special terms or prices these shall be deemed for the purpose of the 
Freedom of Information Act 2000 as information provided in confidence by RMESI 
and the disclosure of which would be prejudicial to RMESI's commercial 
interests.

This email has been scanned for viruses by Trend ScanMail.


Reply via email to