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 Wed, 03 Dec 2008 11:35:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46221


Peter Rossbach <pr@objektpark.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #3 from Peter Rossbach <pr@objektpark.de>  2008-12-03 03:35:39 PST ---
I am not sure that your patch fix the bug really. I have test it with
deploy/undeploy via Manager API.
The result is after a while I got a OutOfMemory Exception a perm heap is full.

One thing that I change is deregister containerLog at all Context Valves at
StandardPipeline.

StandardPipeline.java
L 273
       while (current != null) {
            if (current instanceof Lifecycle)
                ((Lifecycle) current).stop();
            unregisterValve(current);
            if(current instanceof ValveBase)
                ((ValveBase)current).releaseContainerLog();
                current = current.getNext();
        }

More hints?

Peter


-- 
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