> From: Ivan Mladenović [mailto:pif...@gmail.com]
> Subject: Question about undeploying application
> 
> Deployed application have some threads that are running 
> in background.

Then deployed application must stop those threads as part of its shutdown 
procedure.  Tomcat can't do it for you.  You should be using a 
ServletContextListener in your webapp, so it can properly manage the threads 
when its contextDestroyed() method is invoked.

> Can I configure Tomcat to kill all treads when application
> is undeployed?

No, that's the webapp's job.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to