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
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 471
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?


Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Getting thread dump from service running J app
 
Similar Threads
How to get Thread Dump in Tomcat Windows 32-bit
ant waits for user input
Taking thread dump in Tomcat 4.0
Diffrence Between Notify & NotifyAll
JBoss 4.0.4 is slow down in every 20 days