tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47878] New: Deleting JSP file results in a permanent 500 Error, FileNotFound.
Date Sun, 20 Sep 2009 12:40:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47878

           Summary: Deleting JSP file results in a permanent 500 Error,
                    FileNotFound.
           Product: Tomcat 5
           Version: 5.5.28
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: colinlear@gmail.com


Exists in both 5.5.27 and 5.5.28.

It's easy to test. Just create test.jsp in the jsp-examples folder, and load it
in the browser. Then delete or move the file and reload until you get an error.

That url forever throws a FileNotFound Exception. Recreating the file doesn't
fix the problem.

I think the fix to Bug 2500. Revision 562749 removed the call to
ctxt.incrementRemoved(). This means the compiler context is not cleaned up when
the file is removed.

The patch probably should have still caught the FileNotFoundException and then
just handled it identical to a normal Exception.

However since I don't have a Java 1.5 box right at this minute to compile the
source, I can't test this.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message