Hi
I created a
thread in load on start up
servlet, which is keep on running even i stop the application deployed in application server (Like WebSphere).
When I restart the application (but not whole server) once again new thread is creating in this servlet.
I would like to stop the thread on application shutdown or should not start second time on restarting the application.
My Thread Class
My Servlet
I tried to interrupt the thread in destroy method of servlet, but not succeed. Please help on this. thank you.