• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Taking thread dump of Weblogic 8.1 in Solaris box

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic