Tomcat thread dump

Abdullah picture Abdullah · Sep 2, 2013 · Viewed 49.4k times · Source

Is there away to take a thread dump from Tomcat. I want to monitor the running threads on Tomcat at a certain time.

Note: I was doing that on Web logic but i don't know how it cab be done on Tomcat.

Answer

Julien picture Julien · Sep 2, 2013

If you use Linux, you can send a kill -3 [pid of your tomcat] and it will dump all current threads in the catalina.out.