Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: How to get a thread stack dump programmatically

rx liu

2004-02-03



why my not delivery ?

>From: Rodrigo Ruiz <rruiz@(protected)>
>Reply-To: "Tomcat Users List" <tomcat-user@(protected)>
>To: Tomcat Users List <tomcat-user@(protected)>
>Subject: How to get a thread stack dump programmatically
>Date: Tue, 03 Feb 2004 11:04:27 +0100
>
>Hi all, is there any way to get a stack trace of a given thread?
>
>I want to obtain a full thread stack dump from a JSP, just like the
>one obtained via kill -QUIT, but I do not find any method in the
>Thread class that could be used to get this information.
>
>I seem to recall that some code was posted some time ago in this
>list, but I have not found it in the archives. Any ideas?
>
>PS: What I really want to do is a tool for detecting deadlocks via
>thread dump analysis :-)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>

_________________________________________________________________
锟斤拷锟斤拷锟斤拷锟�MSN Explorer:  http://explorer.msn.com/lccn/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.