I am running Apache 2.0 and Tomcat 4.1.
I have a servlet that users can execute that does some work, forwards the response, and does some more work. The work that the servlet does after the response is forwarded can take some time. Because of this, I have the servlet add itself to an ArrayList that is a context attribute so that I can get a list of what is running. I would like to be able to kill one of these servlets if I determine the job is having problems.
Is there a way to do this?