tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46221] Leak WebappClassLoader with commons-logging and log4j
Date Mon, 12 Jan 2009 11:41:15 GMT

Mauro Molinari <> changed:

           What    |Removed                     |Added
                 CC|                            |

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


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message