> From: Terence M. Bandoian [mailto:tere...@tmbsw.com] 
> Subject: Terminating Timer Thread Gracefully

> Finally, in contextDestroyed, I inserted a call to 
> Thread.sleep after canceling the timer and the error
> message disappeared.

You should be able to do a Thread.join() using the timer's Thread object rather 
than sleeping.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to