Collect all the Tomcat's threads' stacks logs
Last modified by Aurelie Bertrand on 2022/02/15 18:04
Introduction
In some blocking case, it could be useful to collect all the logs of the Tomcat threads for investigation purpose.
This procedure explain how to do it.
Collect all the logs (for Unix servers)
- The server is in a situation that demands to restart it
- Get the Tomcat's PID (process id) using ps, htop, or any other tool
- On the command prompt, execute the following :
kill -3 <Tomcat PID> - Retrieve catalina.log (or catalina.out) file to communicate to the technical team.