tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <>
Subject Re: Tomcat Bug: JSP not found?
Date Thu, 16 Dec 2010 16:56:45 GMT
The JSP has not been deleted and a stack trace is logged like:

org.apache.jasper.JasperException: Le fichier "/xxx/yyy/zzz.jsp" n'a pas été trouvé
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(
	at org.apache.jasper.compiler.JspUtil.getInputStream(
	at org.apache.jasper.compiler.JspUtil.getReader(
	at org.apache.jasper.compiler.ParserController.doParse(
	at org.apache.jasper.compiler.ParserController.parseDirectives(
	at org.apache.jasper.compiler.Compiler.generateJava(
	at org.apache.jasper.compiler.Compiler.compile(
	at org.apache.jasper.compiler.Compiler.compile(
	at org.apache.jasper.compiler.Compiler.compile(
	at org.apache.jasper.JspCompilationContext.compile(
	at org.apache.jasper.servlet.JspServletWrapper.service(
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(
	at org.apache.jasper.servlet.JspServlet.service(
	at javax.servlet.http.HttpServlet.service(

This particular example occurred on a system running in a French locale, 
but translates into "The file ___ was not found".

Why a JSP that has already been compiled is being recompiled is another 
question I have...

Jess Holle

On 12/16/2010 7:08 AM, Konstantin Kolinko wrote:
> 2010/12/16 Jess Holle<>:
>> Has anyone seen issues with JSPs that are present in an expanded web app
>> directory (i.e. deployed with an XML file pointing to a directory in WAR
>> layout rather than as a WAR) being found by Tomcat for a long time, weeks
>> even, and then suddenly no longer being found thereafter?
> What are the symptoms? just 404? class not found (500) ?
> Tomcat 6 will return 404 if the webapp is unavailable (undeployed, stopped).
> Maybe that is your cause?
> In the changelog there is
> "When development mode is enabled and a JSP is deleted, ensure next
> request for that JSP is consistent with the JSP having been removed."
> in 6.0.21 (r832102)
> Best regards,
> Konstantin Kolinko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message