Project: Tomcat
Bug 42071 If a JSP throws an UnavailableException twice, an IllegalStateException occurs.
Reported: 2007-04-08 17:49:37 | Status: resolved fixed

If a JSP throws an UnavailableException twice, an IllegalStateException occurs. first access: JSP throws UnavailableException. second access: If the JSP throws an UnavailableException again then an IllegalStateException occurs and Tomcat returns status code:500 to the client. The problem is not that the IllegalStateException occurs. The problem is that the JSP can be called even though it cannot be used.

Files changed in fix:
java/org/apache/jasper/servlet/JspServletWrapper.java