How to create a thread dump for the J2EE Engine 6.40
A throwing object hands over the exceptions to the calling object which in turn hands the exceptions to its calling object and so on. When as thread dump is triggered, this information is written to a file. The thread dump or stack trace can help troubleshoot problems such as a hanging java server node as it shows what method was running at the time.
To trigger a java thread dump
You can also triger the stack trace using kill -3 <PID of jlaunch process>
Analyzing thread dumps
You can download the thread dump viewer from SAP SMP.
The tdv works for 640 and above and reads thread dumps for SAP/Sun(Oracle)/HP/IBM JVMs for AIX/Linux.
For 640/700 double-click on the jar file and open the thread dumps. For 710, open the thread dump viewer with the following command:
java -jar tdv.jar -version 710
To trigger a java thread dump
- Call jcmon "/usr/sap/<SID>/<Instance>/j2ee/os_libs/jcmon pf=<path to profile file>"
- Choose Local Administration Menue by entering 20
- Choose "Dump stacktrace" by entering 10
- Select the Java node for which trhead dump should be triggered (see column idx and enter the corresponding number)
- Confirm with y
You can also triger the stack trace using kill -3 <PID of jlaunch process>
Analyzing thread dumps
You can download the thread dump viewer from SAP SMP.
The tdv works for 640 and above and reads thread dumps for SAP/Sun(Oracle)/HP/IBM JVMs for AIX/Linux.
For 640/700 double-click on the jar file and open the thread dumps. For 710, open the thread dump viewer with the following command:
java -jar tdv.jar -version 710
Edit: You can also download the thread sump viewer from source forge http://sourceforge.net/projects/tdv/
ReplyDeletevery helpful..keep posting
ReplyDelete