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

kill -3 pid

Weblogic Admin utility

java weblogic.Admin -url t3://weblogicadminconsoleurl:7001 -username username -password password THREAD_DUMP

Weblogic Admin Console

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.