Stop thread when undeploying

James Smith <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi

I have a web application, and a servlet creates a thread.

I want to destroy the thread while undeploying or when the servlet receive
an specific option.

I tried to interrupt the thread but it doesn't works. It throws an
interruption exception. Sleep interrupted and the thread runs forever even
though the application is undeployed.

How can I stop the thread ??

I'm using jboss-3.0.0_tomcat-4.0.3.

Thanks

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.