tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: How to start a daemon without getting the warning?
Date Wed, 27 Oct 2010 21:53:33 GMT
2010/10/28 Leon Rosenberg <>:
> Well, that would just move the problem from stopping Timer to calling
> shutdown on  Executor, wouldn't it?

The problem is with the Thread.getContextClassLoader() for your
thread.  It contains a reference to the webapp classloader, and thus
does not allow to GC it.

Note, that the webapp classloader cannot be used anymore once the
application is stopped. Any attempt to load classes through it will

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message