tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <lsm...@emergent-netsolutions.com>
Subject Re: Tomcat 4.0.3 hangs when removing web application.
Date Mon, 15 Apr 2002 08:52:24 GMT
Daniel,
It sounds to me like you are blocking with the connection 
open in you're servlet therefore not allowing Tomcat to call 
the destroy method untill you have released the block( 
released the connection ) maybe synchronizing on the class? I 
am not sure... 
This one may be beyond my help.
Sorry,
Lance

---- Original message ----
>Date: Mon, 15 Apr 2002 09:38:42 +0100
>From: Daniel Aborg <daniel.aborg@netengines.com>  
>Subject: Re: Tomcat 4.0.3 hangs when removing web 
application.  
>To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>
>lsmith@emergent-netsolutions.com wrote:
>> Any servlet that Tomcat creates Tomcat will send a destroy 
>> to. If you start any threads or singletons from that 
servlet 
>> you need to pass the destroy onto them you're self.
>Thanks Lance.
>
>I neglected to mention that Tomcat DOES send the destroy - 
it just sends 
>it after the servlet has relinquished all of its 
connections. If the 
>servlet got the destroy before its connections had been 
closed, it could 
>close the connections at that point and everything would be 
fine. Is it 
>possible to get this behaviour?
>
>Thanks!
>
>/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>
>

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