Score:0

How to obtain a thread dump from Tomcat running as a Windows service

in flag

Installing Tomcat as a Windows service comes with a handy system tray tool to control it which provides this menu:

Thread dump option

However, everything I've been able to find suggests the "Thread Dump" option should not be on this menu because it will never work - Windows services have no console, so the dump written to stderr/stdout is lost. It does not appear in the tomcat8-stdout.2023-08-16 or equivalent stderr log file.

Has anyone made this option work? It would be perfect for situations where tools like jstack are not available on production servers.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.