tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <Peter.Crowt...@melandra.com>
Subject RE: Status of threads in Tomcat( window service)
Date Fri, 01 Aug 2008 15:52:47 GMT
> From: Johnny Kewl [mailto:john@kewlstuff.co.za]
> From: "Thangavel Sankaranarayanan" <tsankara@in.ibm.com>
> > i am using tomcat as a window service
> > ..so i couldn't create a thread dump...

> http://localhost:8080/manager/status
>
> will give you some info on thread usage

This assumes the OP has the manager installed.  Difficult to tell, as the OP didn't give us
a Tomcat version.

> To create a thread dump in windows... see this link
>
> http://www.adventnet.com/products/webnms/help/developer_guide/troubleshooting_tips/creating_threaddump.html
>
> Basically its just Ctrl Break from a dos box...

Johnny, *read the question before posting*.  The OP has already stated that they're running
as a Windows service.  No DOS box.

To the OP: If you're on a recent enough JDK (1.6), use jstack.  If you're on an older JDK,
you might want to upgrade just to get this ability :-).

http://blogs.sun.com/pcmreddy/entry/using_jstack_on_windows gives an overview of using jstack.
http://java.sun.com/javase/6/docs/technotes/tools/share/jstack.html is the Sun documentation
for it.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message