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
Hello,
I have tomcat running with thread pool inside which has Callable threads in it.
And there are not daemon threads
When I am shutting down tomcat the tomcat is not getting shutdown and is
waiting until all threads in the pool will be done. But there there are threads
which are never done.
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