Is there any way through the JMX console to terminate a particular request thread. I have a request thread that is calling my code that is stuck in a socket call in a 3rd party library. I can see the stuck thread in the JMX console thread dump (ServerInfo), but I don't see any way to terminate it. Can this be done without bouncing the server?
There is no such facility. I guess it shouldn't be hard to write a service of your own that iterates over the server threads and send interrupts a specific one. Again, that doesn't guarantee that the thread will get un-stuck.