How to detect hung threads in Tomcat server

Solution Verified - Updated -

Issue

  • We are trying to detect hung threads in Tomcat 8.0_18 like in WebSphere
    threads running for longer than 10min is declared hung, we would want to monitor these threads which run for a longer time and notify
    please let us know how this can be possible in our environment.

Environment

  • JBoss Web Server (JWS)
    • 3.x
      • Tomcat 8.0.x
    • 5.x
      • Tomcat 9.0.x
    • 6.x
      • Tomcat 10.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content