tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: Tomcat 4.0.3 hangs when removing web application.
Date Mon, 15 Apr 2002 08:52:24 GMT
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.

---- Original message ----
>Date: Mon, 15 Apr 2002 09:38:42 +0100
>From: Daniel Aborg <>  
>Subject: Re: Tomcat 4.0.3 hangs when removing web 
>To: Tomcat Users List <>
> wrote:
>> Any servlet that Tomcat creates Tomcat will send a destroy 
>> to. If you start any threads or singletons from that 
>> 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?
>Daniel Aborg - Developer
>To unsubscribe:   <mailto:tomcat-user->
>For additional commands: <mailto:tomcat-user->
>Troubles with the list: <mailto:tomcat-user->

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message