|
From: Dave W. <Da...@le...> - 2005-02-16 00:48:45
|
Hello - I cannot seem to get my Tomcat application to stop completely on Windows XP. =20 =20 I think I know generally what is happening. The shutdown is issued to Tomcat correctly. However, my application runs a thread, which sleeps for an interval, wakes up, then goes back to sleep. The servlet container is not exiting because it is waiting for all of the threads to end. When I try the service shutdown while the thread is running I get this in the log: =20 ERROR | wrapper | 2005/02/15 16:37:38 | Shutdown failed: Timed out waiting for signal from JVM. ERROR | wrapper | 2005/02/15 16:37:39 | JVM did not exit on request, terminated =20 If I end my Thread before stopping the service, it all works hunky dory. However, I do not want to rely on the user stopping the thread. =20 I want to be able to call one of my classes so I can shut down the application's thread. I have tried everything, mostly using WrapperStartStopApp. Help! =20 -Dave |