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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Générer un dump de threads Tomcat sous Windows
1 +Dump Tomcat Threads on Windows
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.aureliebertranddigdashbiz
1 +xwiki:XWiki.acampos
Content
... ... @@ -1,29 +1,29 @@
1 -Pour générer des informations sur les threads de Tomcat sous Windows, procédez comme suit :
1 +On Window you can generate Thread information from Tomcat using this commands lines :
2 2  
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}}
3 +(% class="box" %)
4 +(((
5 +cd "C:\<digdash_install_folder>\jdk\bin"
6 +jstack <tomcat_pid_id> > threadLogInfo.txt
15 15  )))
16 16  
17 -(% class="box infomessage" %)
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 18  (((
19 -💡 **En cas de message “Accès refusé”**, vérifiez que l’invite de commandes est bien lancée **avec les droits administrateur**.
19 +cd "C:\DD\digdash_enterprise_20220329_64\jdk\bin"
20 +jstack 24052 > threadLogInfo.txt
20 20  )))
21 21  
22 -Pour trouver le PID du processus Tomcat :
23 +Please provide the threadLogInfo.txt to support team
23 23  
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).
28 28  
29 -[[image:1661862306167-916.png]]
26 +**In case of "Access Denied" be sure you start the command line with administration privilege.**
27 +
28 +
29 +