tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandr Elbakyan <ramal...@yahoo.com>
Subject RE: Not able to shutdown tomcat
Date Wed, 11 Mar 2009 17:21:01 GMT
Thank you for help this link was really helpful 

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

From: Caldarale, Charles R <Chuck.Caldarale@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:ramalex1@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message