Collect all the Tomcat's threads' stacks logs

Version 1.1 by baudard on 2022/02/15 17:42


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. 

Following this procedure will stop the DigDash Enteprise application. 
This procedure should only proceed on the recommendation of a DigDash consultant.

Collect all the logs (for Unix servers)

  1. The server is in a situation that ask to restart it
  2. Get the Tomcat's PID (process id) using ps, htop, or any other tool
  3.