Wiki source code of Dump Tomcat Threads on Windows

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

Show last authors
1 On Window you can generate Thread information from Tomcat using this commands lines :
2
3 (% class="box" %)
4 (((
5 cd "C:\<digdash_install_folder>\jdk\bin"
6 jstack <tomcat_pid_id> > threadLogInfo.txt
7 )))
8
9
10 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.
11
12
13 [[image:1661862306167-916.png]]
14
15 In this example :
16
17 (% class="box" %)
18 (((
19 cd "C:\DD\digdash_enterprise_20220329_64\jdk\bin"
20 jstack 24052 > threadLogInfo.txt
21 )))
22
23 Please provide the threadLogInfo.txt to support team
24
25
26 **In case of "Access Denied" be sure you start the command line with administration privilege.**
27
28
29