Dump Tomcat Threads on Windows

Last modified by Aurelie Bertrand on 2022/09/05 13:32

On Window you can generate Thread information from Tomcat using this commands lines :

cd "C:\<digdash_install_folder>\jdk\bin"
jstack  <tomcat_pid_id> > threadLogInfo.txt

To find the PID of tomcat you can start windows task manager (CTRL + SHIFT + Escape) and search java.exe process or a process with tomcat name in "details" tab.

1661862306167-916.png

In this example :

cd "C:\DD\digdash_enterprise_20220329_64\jdk\bin"
jstack  24052 > threadLogInfo.txt

Please provide the threadLogInfo.txt to support team

In case of "Access Denied" be sure you start the command line with administration privilege.