tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Update of "HowTo" by KonstantinKolinko
Date Wed, 09 Dec 2015 11:23:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "HowTo" page has been changed by KonstantinKolinko:

Update options for obtaining a thread dump. Add StuckThreadDetectionValve.

  If you cannot use any of the above methods, it is also possible to obtain a thread dump
programmatically, with a Servlet or JSP page that runs within Tomcat. For example, you can
use `java.lang.Thread.getAllStackTraces()` method.
- Tomcat Manager web application in Tomcat 8 and later supports a command that outputs a thread
+ Tomcat Manager web application starting with Tomcat 7.0.58 / 8.0.0 supports a command that
outputs a thread dump.
- ([[|Not yet documented]])
+ ([[|Tomcat 8 documentation]],
[[|BZ 57261]])
+ `StuckThreadDetectionValve` valve logs stacktraces of request processing threads that are
busy for longer than configured time limit. It is available starting with Tomcat 6.0.36 /
7.0.14. ([[|Tomcat
8 documentation]])
+ ----
  == How do I read a Java thread dump ? ==
  Java thread dumps are just text files, so you can read them with any text editor. There
are some tools that can make your life easier, especially if you need to look at more than
one thread dump at once.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message