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 <[EMAIL PROTECTED]> >Subject: Re: Tomcat 4.0.3 hangs when removing web application. >To: Tomcat Users List <[EMAIL PROTECTED]> > >[EMAIL PROTECTED] 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- [EMAIL PROTECTED]> >For additional commands: <mailto:tomcat-user- [EMAIL PROTECTED]> >Troubles with the list: <mailto:tomcat-user- [EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
