Collecting a Thread Dump on Tomcat on Microsoft Windows
A thread dump is a log file containing information about currently running threads and processes. It can be useful during troubleshooting when trying to identify exactly when an issue occurs.
To collect a thread dump from Tomcat on Microsoft Windows
- With Tomcat running in the foreground, open a command prompt:
- Click .
- Type cmd.
- Click OK.
- Adjust the scroll buffer as necessary so that the buffer is quite large.
- Type cd WS_HOME/svc and press Enter to change directories.
- Type IdiomRun.exe -debug and press Enter.
The Tomcat window appears.
- Press Ctrl+Break in the window.
The traces for each thread are dumped.