Hi,
We have a custom
Servlet Engine (Similar to
Tomcat) which has configurable numbers of "Worker Threads" to handle HTTP request. The issues here is, this engine hangs if the "Worker Threads" are BLOCKED for long time. So I wanted to interrupt these "Worket Threads".
When I took the
thread dump with "jstack <pid>" will give the all the Worker Thread's name, address, tid , nid, and state. So, having these thread info can we build thread object to interrupt blocked threads and any other approach to interrupt BLOCKED threads.
Please suggest your thoughts.
Thanks,
Madhu K.