Different ways to take thread dumps in Weblogic Server
From OS
========
kill -3 <pid> 2>&1
From weblogic.wlst:
======================
setDomain.cmd or setDomain.sh depending on the OS
java weblogic.WLST
connect("<username>","<password>","t3://<url>:<port>")
threadDump()
From Command line
==================
setDomain.cmd or setDomain.sh depending on the OS
java weblogic.Admin <url>:<port> -username <username> -password <password> THREAD_DUMP
From JRockit
=============
jstack <pid> or jstack -l <pid> to print additional information about locks
jrcmd <pid> print_threads
jcmd <pid> Thread.print
From Admin Console also we can take thread dump
From OS
========
kill -3 <pid> 2>&1
From weblogic.wlst:
======================
setDomain.cmd or setDomain.sh depending on the OS
java weblogic.WLST
connect("<username>","<password>","t3://<url>:<port>")
threadDump()
From Command line
==================
setDomain.cmd or setDomain.sh depending on the OS
java weblogic.Admin <url>:<port> -username <username> -password <password> THREAD_DUMP
From JRockit
=============
jstack <pid> or jstack -l <pid> to print additional information about locks
jrcmd <pid> print_threads
jcmd <pid> Thread.print
From Admin Console also we can take thread dump
No comments:
Post a Comment