Documentation Center

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

  1. With Tomcat running in the foreground, open a command prompt:
    1. Click Start > Run.
    2. Type cmd.
    3. Click OK.
  2. Adjust the scroll buffer as necessary so that the buffer is quite large.
  3. Type cd WS_HOME/svc and press Enter to change directories.
  4. Type IdiomRun.exe -debug and press Enter.

    The Tomcat window appears.

  5. Press Ctrl+Break in the window.

    The traces for each thread are dumped.