|Summary:||Deleting JSP file results in a permanent 500 Error, FileNotFound.|
|Product:||Tomcat 5||Reporter:||Colin Lear <colinlear>|
|Component:||Jasper||Assignee:||Tomcat Developers Mailing List <dev>|
Description Colin Lear 2009-09-20 05:40:28 UTC
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.
Comment 1 Mark Thomas 2009-09-20 08:54:00 UTC