Workload Automation

 View Only

CA DE Tech Tip: jstack - Can you generate a Thread Dump on DE server 

Apr 26, 2017 10:53 AM

If your DE Server is hung, has performance problems, or fails to start support will request that you to collect thread dumps. 
You will be asked to run as many as 5 – 6 at intervals of approximately 20 seconds appart while you are having a problem.

If DE is up and running you can use the CLI utility "THREADDUMP" , if DE is not running you will need to use external tools like 'jstack' or 'JVisualVM'
The jstack command is part of JDK and is not shipped with DE. You will need to download  the utility from the internet and install the same version of JRE that WA DE uses.
For more informaton on the jstack command see
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html

The jstack command requires the process id number (PID) of the DE server

On UNIX
$JDK_HOME\bin\jstack <DEServer PID> >> /tmp/DEthreaddumps.txt

On WINDOWS
<jdk>\bin\jstack <DEServer PID> >> threaddumps.txt

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.