Thank you for help this link was really helpful --- On Tue, 3/10/09, Caldarale, Charles R <[email protected]> wrote:
From: Caldarale, Charles R <[email protected]> Subject: RE: Not able to shutdown tomcat To: "Tomcat Users List" <[email protected]> Date: Tuesday, March 10, 2009, 6:02 PM > From: Aleksandr Elbakyan [mailto:[email protected]] > 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: [email protected] For additional commands, e-mail: [email protected]
