Thank you for help this link was really helpful 

--- On Tue, 3/10/09, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote:

From: Caldarale, Charles R <chuck.caldar...@unisys.com>
Subject: RE: Not able to shutdown tomcat
To: "Tomcat Users List" <users@tomcat.apache.org>
Date: Tuesday, March 10, 2009, 6:02 PM

> From: Aleksandr Elbakyan [mailto:ramal...@yahoo.com] 
> Subject: Not able to shutdown tomcat
> 
> So I need somehow shut down thread pool manually from 
> some other tomcat shutdown listener thread.

You need to implement a ServletContextListener that will terminate your threads 
when the associated webapp is being stopped.  See section 10 of the servlet 
spec:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html

 - 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