File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Taking thread dump of Weblogic 8.1 in Solaris box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Taking thread dump of Weblogic 8.1 in Solaris box" Watch "Taking thread dump of Weblogic 8.1 in Solaris box" New topic
Author

Taking thread dump of Weblogic 8.1 in Solaris box

Abhishek Rath
Ranch Hand

Joined: Nov 22, 2007
Posts: 38
Hi

I need to take the thread dump of my application.Kill - 3 <PID> will give me the thread dump.However I have few queries related to that

1.How do I know which PID to take.I find out the process running with weblogic and found there are many process running.How to identify which one will give me the correct thread dump.
2.Where the thread dump gets stored.
3.is there any other way to get the thread dump.

Regards
Abhishek
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 813

what do you mean that there are many processes running? do you mean that there are more that one WLS instance running on the same physical box?
The java process running on the system will be associated to the wls instance running.

thread dump gets generated in the stdout file.

in unix/linux env. kill -3 <pid> is the best method to take thread dumps as it generates whole information of a running thread.
Why any else method to take thread dump??


Regards, Sud.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Taking thread dump of Weblogic 8.1 in Solaris box
 
Similar Threads
how to get Thread dumps
How to get Thread Dump in Tomcat Windows 32-bit
thread dumps Location
Tests for the Data class/locking mechanism
Help on stuck thread