tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat 6 not shutting down
Date Wed, 15 Dec 2010 22:38:49 GMT
> From: April Easton [mailto:AEaston@shawneecourt.org] 
> Subject: Tomcat 6 not shutting down

> How do I determine what process is keeping Tomcat from shutting 
> down properly?

Thread, not process.

This is the culprit:

"Timer-2" prio=10 tid=0x0000000050b72800 nid=0x6697 in Object.wait() [0x000000004096f000..0x000000004096fd10]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab3e20cf0> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x00002aaab3e20cf0> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

Note that it is not a daemon thread, so it will prevent JVM termination.  Unfortunately, a
simple stack trace won't tell you who started this thread - you'll need to either run a profiler
and catch it, or carefully search your code.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message