Search this blog for other interesting articles

Thursday 16 June 2016

How to create a java thread dump?


This article answers following queries :

Ø  How to create a java thread dump?
Ø  How to thread dump using SAP management console (MMC) ?
Ø  Explain the process to create java thread dump
Ø  How to create stack dump in SAP?
Ø  Explain the process to dump stack trace
 


1)    Start the SAP Management Console.
2)    Navigate to AS Java process table under respective server node
3)    Select the process for which you want to create a stack dump in the java process table ( Process can be SDM / dispatcher / server0)
4)    Right click on the process and from the context menu, choose “Dump stack trace”
 
 
 
 
 
 
 
 
 
 
 
 
5)    System prompts to enter user id/ password credentials (as shown below)
 
 
 
 
 
 
 
 
 
 
6)    Please provide sidadm credentials of respective server
7)    The stack dump is written to the std_<component>.out file located in the /usr/sap/<SID>/<inst_name>/work directory.
If you have selected server0 process earlier, filename will be std_server0.out

 
 
 
 
 
 
 
 
 
 
 
Please note that the location of the stack dump may differ depending on the java SDK being used.
 

No comments:

Search this blog for other interesting articles

Please subscribe & activate link received to your email id to receive latest articles

Enter your email address:

Delivered by FeedBurner