954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Tomcat thread dump

Hi,

We've got an application running on Tomcat and we've setup Manage Engine's Applications Manager 9.0 to monitor our environment. I've set an alarm that fires whenever a thread is in the "BLOCKED" state at the moment of the polling and I'd like to get a thread dump of that moment so that I can debug the blocks (same for deadlocks).
I don't think the monitoring tool offers this possibility by default, but I could execute a batch file from the monitoring server to get that thread dump.
The question is, how do I create a batch file that polls a remote host and gets that host's jvm's thread dump to write on a file?

Thanks for your help.

gaudi_br
Newbie Poster
11 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: