Possible Duplicate:
Can I get the name of the class and method within which the current thread was spawned?
Are there any tools (perhaps a javaagent) that will let me identify what started a thread after the event?
I have a Tomcat that won't shut down, and the thread names (from the dump) aren't of much use.