You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/01/12 12:41:15 UTC
DO NOT REPLY [Bug 46221] Leak WebappClassLoader with commons-logging
and log4j
https://issues.apache.org/bugzilla/show_bug.cgi?id=46221
Mauro Molinari <ma...@tiscali.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mauromol@tiscali.it
--- Comment #9 from Mauro Molinari <ma...@tiscali.it> 2009-01-12 03:41:14 PST ---
Today I was trying to identify memory leaks in our webapp restart process and I
encountered this problem (the logger instance of StandardContext keeps a
reference to a logger that is loaded by the webapp class loader, so this can't
be garbage collected).
I gave a quick look to the attached patch and it seems to actually solve my
problem.
This is clearly a bug (not an enhancement!) because resources are not cleared
correctly by org.apache.catalina.core.StandardContext.stop().
I hope this will be fixed soon...
Mauro.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org