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 2008/12/03 12:35:40 UTC

DO NOT REPLY [Bug 46221] Leak WebappClassLoader with commons-logging and log4j

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