Wednesday, October 20, 2010

Steps to Generate Thread Dumps:

Following are the steps to generate thread dumps:

1) Run setDomainEnv located at (/bin) directory.

2) Then in the same cmd run the following command:

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

We need to run this command 6 to 7 times at an time interval of 10 seconds each.

3) The thread dumps would be generated in the managed server out file.

A. If java related exception is printed when using Thread Dump command, then go to D:\ Oracle\Middleware\wlserver_10.3\server\bin\ and run setWLSEnv.cmd from command line.

B. Go to D:\ projects\domains\WFXDomain and give the Thread dump command

java weblogic.Admin –url blprdwfxapp04:7001 –username weblogic -password Dfwmc0k! THREAD_DUMP

C. The Thread dump is written in WFX_MS5.out under the path D:\ projects\domains\WFXDomain\servers\WFX_MS5\logs

to verify serach for the following (example);
THREAD DUMP from JVM taken at 'Mon Sep 27 09:49:52 2010'

2010-09-27 09:49:52
Full thread dump Java HotSpot(TM)

No comments: