
How to Generate Thread Dump in WebLogic


Below instructions are to take thread dump for Weblogic Application server, this is helpful to troubleshoot WebLogic at a different scenario.
Windows
ctrl+break key
UNIX
- Get PID of WebLogic Java process by (ps -ef | grep java or ps -ef | grep WebLogic)
- Execute a command on UNIX session :
kill -3 pid
Weblogic Admin utility
- Make sure you export weblogic.jar in your path
- Execute a command on UNIX session:
java weblogic.Admin -url t3://weblogicadminconsoleurl:7001 -username username -password password THREAD_DUMP
Weblogic Admin Console
- Login into WebLogic admin console
- Navigate toย Server > Monitoring > Threads > Dump Thread Stacks
WLST
- Make sure to export weblogic.jar in your PATH
- Invoke WebLogic.WLST :
java weblogic.WLST connect("weblogic","weblogic","t3:weblogicinstaceaddress:port") threadDump()
I hope above procedure helps you in taking thread dump in Weblogic for troubleshooting.
If you are looking for in-depth knowledge on WebLogic, you may consider taking “Oracle WebLogic 12c for Administrators” online course.
- Tagged in:
- Weblogic
More great readings on Sysadmin
-
Looking For Traceroute on RHEL 8? Try TracepathAbhishek Nair on June 14, 2022
-
6 Best Switch Port Monitoring ToolsDurga Prasad Acharya on June 12, 2022
-
Windows 10/11 Random Shutdown: How to Find the CauseHitesh Sant on May 30, 2022
-
7 Best Server Configuration Monitoring and Auditing ToolsTalha Khalid on May 28, 2022
-
8 Best FTP Server Software for Windows for Secure TransferSatish Shethi on May 24, 2022
-
OSI Model Layers: An Introduction GuideAmrita Pathak on May 13, 2022
Join Geekflare Newsletter
Every week we shareย trending articlesย andย toolsย in our newsletter. More than 10,000 people enjoy reading, and you will love it too.