tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46221] Leak WebappClassLoader with commons-logging and log4j
Date Mon, 12 Jan 2009 11:41:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46221


Mauro Molinari <mauromol@tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mauromol@tiscali.it




--- Comment #9 from Mauro Molinari <mauromol@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


Mime
View raw message