tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
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 <rosenberg.leon@gmail.com>:
>
> 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
fail.

Best regards,
Konstantin Kolinko

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


Mime
View raw message