Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The "HowTo" page has been changed by KonstantinKolinko: https://wiki.apache.org/tomcat/HowTo?action=diff&rev1=138&rev2=139 Comment: Rewrite section on using Thread Dump command in Windows service monitoring application. You can try to use SendSignal, developed specifically for this purpose. Make sure you read the comments for certain sitautions (e.g. running as a service, RDP connections, etc.). http://www.latenighthacking.com/projects/2003/sendSignal/ === If you are running Tomcat as a service on Microsoft Windows === - Edit your service to add the "//MS//" option to the command line. This enabled the "Monitor Service" which puts an icon in the system tray while Tomcat is running. Right-clicking the Tomcat monitor in the system tray allows you to produce a thread dump in stdout. + Tomcat service has a monitoring application with it. When it is running it puts an icon in the Windows system tray area. Right-click the icon, a menu will appear. Select "Thread Dump" command from the menu. It will cause thread dump to be printed to stdout. The service captures stdout into a log file (`logs/tomcat`''NN''`-stdout.`''DATE''`.log`). + + If the monitoring application is not running, you can start it manually. The command is + + `Tomcat8w.exe //MS//` + + or + + `Tomcat8w.exe //MS//servicename` + + If you installed Tomcat with an "exe" installer, "Apache Tomcat ''version'' ''servicename''" group in the Windows menu has shortcut "Monitor Tomcat" that starts the monitoring application. + + For details, see [[http://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html|Windows service page]] in Tomcat documentation. === If you have Tomcat running in a console === *NIX: Press CRTL-\ Microsoft Windows: press CRTL-BREAK --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org