Thanks Chuck,

A quick read of the documentation says this:

"jstack is not currently available on Windows platforms"

And poking around in the bin folder reveals nothing. Typing the command results in a "not found" error. Tomcat is running on two Windows servers that have this problem, on of which crashed with 825 threads running last night, but I'll continue to pursue a tool that will do something similar and run in Windows.

Pete


Caldarale, Charles R wrote:
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs

*How* do you dump a thread? And, what is in it?

It's not "a thread" dump, it's a "thread dump" - a capture of the call stacks 
of every thread currently running inside a JVM.  The jstack tool in the JDK is the easiest - and 
most platform independent - way of getting one.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html

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


Reply via email to