Is there a simple way to change the default name that Tomcat gives its worker threads? Ideally, I’d like all the threads associated with a certain web application to have it in their name, perhaps as a prefix. For example, if I deploy app1.war and app2.war, I’d like all the threads for app1 to have app1 in their name.
Share
From a forum, reposted here with a bit better formatting; a simple filter, that renames each thread to the request URI, in this example: