wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 823

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Taking thread dump of Weblogic 8.1 in Solaris box