tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Terminating Timer Thread Gracefully
Date Tue, 12 Jul 2011 11:59:42 GMT
> From: Terence M. Bandoian [mailto:terence@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message