Question

Redirecting the Java core thread dump to a different directory.

Answer

When the Thread Dump button is used in the MS GUI under the JVM Thread Display menu, the thread dump that gets created is written into the default directory of $WAS_HOME/profiles/ dir.

If you want to change this default directory to another directory, say /tmp dir, add these parameters (see first screenshot) to your WAS admin console for that server and then restart the WAS server.

docview

After restarting your server, go back into the MS GUI and select the Thread Dump button to generate a new thread dump. You will see that the default directory has now changed to the new directory. See second screenshot here showing this.

docview (1)

Advertisements