You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/09/20 14:40:30 UTC

DO NOT REPLY [Bug 47878] New: Deleting JSP file results in a permanent 500 Error, FileNotFound.

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


DO NOT REPLY [Bug 47878] Deleting JSP file results in a permanent 500 Error, FileNotFound.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47878

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> 2010-05-25 22:33:18 EDT ---
Fixed in 5.5 in r948294. Will be in 5.5.30 onwards.

-- 
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


DO NOT REPLY [Bug 47878] Deleting JSP file results in a permanent 500 Error, FileNotFound.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47878

--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-09-20 16:54:00 BST ---
Thanks for the report. Testing on 6.0.x and trunk showed that this was not an
issue for those versions. A little research suggested that r439565 needed to be
back-ported to 5.5.x to fix this issue.

I've tested this and it does indeed fix the issue. I have proposed r439565 for
back-port to 5.5.x.

-- 
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