File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Getting thread dump from service running J app
 
Similar Threads
How to get Thread Dump in Tomcat Windows 32-bit
Diffrence Between Notify & NotifyAll
JBoss 4.0.4 is slow down in every 20 days
Taking thread dump in Tomcat 4.0
ant waits for user input