Last modified by Aurelie Bertrand on 2025/07/11 16:54

From version 3.1
edited by acampos
on 2022/09/05 13:32
Change comment: There is no comment for this version
To version 4.1
edited by Aurelie Bertrand
on 2025/07/11 16:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Dump Tomcat Threads on Windows
1 +Générer un dump de threads Tomcat sous Windows
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.acampos
1 +xwiki:XWiki.aureliebertranddigdashbiz
Content
... ... @@ -1,29 +1,29 @@
1 -On Window you can generate Thread information from Tomcat using this commands lines :
1 +Pour générer des informations sur les threads de Tomcat sous Windows, procédez comme suit :
2 2  
3 -(% class="box" %)
4 -(((
5 -cd "C:\<digdash_install_folder>\jdk\bin"
6 -jstack <tomcat_pid_id> > threadLogInfo.txt
3 +1. Démarrez l'invite de commandes en tant qu'administrateur.
4 +1. Placez-vous dans le dossier bin du JDK comme suit :
5 +{{code}}cd "C:\<votre_dossier_digdash>\jdk\bin"{{/code}}
6 +Par exemple :
7 +{{code}}cd "C:\DD\digdash_enterprise_20240329_64\jdk\bin"
8 +{{/code}}
9 +1. (((
10 +Exécutez jstack pour capturer le dump de threads :
11 +{{code}}jstack <pid_tomcat> > threadLogInfo.txt{{/code}}
12 +
13 +Par exemple :
14 +{{code}}jstack 24052 > threadLogInfo.txt{{/code}}
7 7  )))
8 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" %)
17 +(% class="box infomessage" %)
18 18  (((
19 -cd "C:\DD\digdash_enterprise_20220329_64\jdk\bin"
20 -jstack 24052 > threadLogInfo.txt
19 +💡 **En cas de message “Accès refusé”**, vérifiez que l’invite de commandes est bien lancée **avec les droits administrateur**.
21 21  )))
22 22  
23 -Please provide the threadLogInfo.txt to support team
22 +Pour trouver le PID du processus Tomcat :
24 24  
24 +1. Ouvrez le **Gestionnaire des tâches**.
25 +1. Allez dans l’onglet **Détails**.
26 +1. Cherchez java.exe ou un processus avec tomcat dans le nom.
27 +1. Notez le **PID** (ID du processus).
25 25  
26 -**In case of "Access Denied" be sure you start the command line with administration privilege.**
27 -
28 -
29 -
29 +[[image:1661862306167-916.png]]