RE: stopping all the java threads when tomcat stops

2004-08-12 Thread Jignesh Patel
Yoav, Thank you, we tried to stop using scheduler.shutdown method in quartz servlet's destroy method but it is not working as expected. Also I would like to clarify one more doubt when load-on-startup method called will it call init method of the servlet all the time.ie. Even when tomcat remove

Re: stopping all the java threads when tomcat stops

2004-08-12 Thread QM
On Thu, Aug 12, 2004 at 11:57:04AM -0400, Jignesh Patel wrote: : Thank you, we tried to stop using scheduler.shutdown method in quartz : servlet's destroy method but it is not working as expected. You *really* want to use a ContextListener for this: it provides the equivalents of a servlet's

RE: stopping all the java threads when tomcat stops

2004-08-11 Thread Shapira, Yoav
Hi, Years ago, I posted a SystemThreadList class to the mailing list: search the archives. It will let you access and stop any thread in your JVM. Of course if you're running with a security manager, you would need to configure the policy file appropriately. However, instead of doing this