> From: Terence M. Bandoian [mailto:[email protected]] 
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to