On 12/07/2011 02:06, Terence M. Bandoian wrote:
> Hi-
>=20
> I've been testing a web application on:
>=20
> Tomcat 6.0.32 (32-bit)
> Sun/Oracle JRE 1.6.0_25 (32-bit)
> Windows Server 2008 R2
>=20
> The web application includes a ServletContextListener which creates a
> Timer in the contextInitialized method to perform periodic maintenance.=
=20
> To no avail, I spent quite a bit of time trying to eliminate the "The
> web application appears to have started a thread..." error message from=
> the logs including logging the cancellation of the timer in the
> contextDestroyed method of the ServletContextListener. Finally, in
> contextDestroyed, I inserted a call to Thread.sleep after canceling the=
> timer and the error message disappeared.
>=20
> Is there some other way to eliminate this message that I've missed?
Hard to know, can you post the code you used to start/stop the timer?
p
> -Terence Bandoian
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>=20
|