General J2EE: interrupting a thread
How do I properly stop a running thread, now that Thread.stop() has been deprecated?
I hope you are not trying to stop the thread inside of a J2EE container. One excuse might be a thread that was created from the thread within the J2EE application, but that thread creation would still be against the J2EE rules.
nope, I am creating threadpool outside of j2ee container