wood burning stoves 2.0*
The moose likes Java in General and the fly likes Getting thread dump from service running J app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Getting thread dump from service running J app" Watch "Getting thread dump from service running J app" New topic
Author

Getting thread dump from service running J app

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

I need to get a thread dump of Java application running as a service on Windows. It can't run in command line, so using Ctrl+Break isn't a solution for me. I heard that Java 5.0 provides new API for getting thread dump, however I can't change code for calling this API. Is there any other way to get thread dump on Java 5.0, like jconsole?


Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Enrico Cossutta
Greenhorn

Joined: Jul 19, 2005
Posts: 1
StackTrace can get thread dumps from Windows services
http://tmitevski.users.mcs2.netarray.com/stacktrace.jsp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting thread dump from service running J app
 
Similar Threads
Taking thread dump in Tomcat 4.0
How to get Thread Dump in Tomcat Windows 32-bit
JBoss 4.0.4 is slow down in every 20 days
Diffrence Between Notify & NotifyAll
ant waits for user input