Mark Thomas wrote:
On 18/02/2010 10:16, nocturna_gr wrote:
Hallo,
i am running an application (Spring+Framework+Quartz) in tomcat 6.0.18 under
Windows XP and JDK 1.6.0_16. When i shutdown tomcat (either script or
SHUTDOWN via 8005 port), there are always some threads hanging. They are not
related to the application, as far as i can see- although it problems with
"Spring+Framework+Quartz". The thread stack follows; i can see some locks
there... Does somebody have some advice? I am new in Tomcat (and threaded
debugging) so any directions would be appreciated....

If you start a TimerThread you are expected to stop it. This is normally
done by cancelling whatever jobs you scheduled.

I sometimes run into shutdown problems as well, and I'm running as a windows service. Does this mean I need to cancel the timer itself, or just any jobs that are in progress that were started by the timer?

D


Tomcat 6.0.25 will include code to automatically stop forgotten timer
threads but that is only a workaround.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to