Creating a Stack Trace
...
1. Start the SAP MMC.
2. Select the process for which you want to dump a stack trace.
3. From the context menu, choose Dump Stack Trace.
...
1. Start the JCmon.
2. Find the process ID (PID) of the process for which you want to dump a stack trace (command 11 “Process list”).
3. Initiate the stack trace dump (command 10: “Dump stacktrace”).
You can also initiate the stack trace dump for all the processes. In this case, do not specify a process ID (PID).
The result stack trace files are stored in the stderr<n> and std_<component name>.out files located in the /usr/sap/<SID>/<INSTANCE NAME>/work directory.

The location of the stack dumps may differ depending on the JDK. For more information, see SAP Note 710154.