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

Document created by rugst01 Employee on Apr 26, 2017Last modified by rugst01 Employee on Apr 26, 2017
Version 2Show Document
  • View in full screen mode

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

Attachments

    Outcomes