request/response objects not unwrapted if exception during include

2003-08-20 Thread Hendrik Haddorp
Hello, I think I found a bug in the class org.apache.catalina.core.ApplicationDispatcher in Tomcat 4.1.27. When invoking include the request and response Objects are not unwrapt in case of an Exception during the invoke call. Shouldn't the unwrap calls be in a finally clause? My problem with t

destroy not called if permanently unavailable exception is thrown

2003-08-18 Thread Hendrik Haddorp
Hi, I'm using Tomcat 4.1.27. When I throw an UnavailableException in my Servlet marked as permanently the destroy method of the servlet doesn't seem to be called. In fact in looks like permanently unavailability is treated as a temporally unavailability with the available time set to Long.MAX_