tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Aborg <daniel.ab...@netengines.com>
Subject Re: Tomcat 4.0.3 hangs when removing web application.
Date Mon, 15 Apr 2002 13:07:40 GMT
Craig R. McClanahan wrote:
>>Here is a simple example which reproduces this behaviour:
[snip]
 >>In my eyes, this should work without any problems. (It does work just
 >>fine in Tomcat 3.2.2.)

> No, this should not work -- and Tomcat 3.2 was broken in allowing it.
> 
> Per the servlet spec, the container is not allowed to call destroy() if
> any requests are currently active.

Doh.  That explains it.  Alright.

So, what choices are you left with if you want to do something like 
this?  Adding a shutdown hook to the servlet container which asks the 
servlet to release its connections?

Thanks for your help!

/D

-- 
Daniel Aborg - Developer


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message