https://issues.apache.org/bugzilla/show_bug.cgi?id=43867





--- Comment #60 from Aaron Digulla <[EMAIL PROTECTED]>  2008-08-06 13:37:47 PST 
---
> 1)

No.

> 2)

Only when log4j is in WEB-INF/lib. If you put it into common/lib, one log4j
instance is shared by all webapps and Tomcat itself.

Unloading a classloader doesn't destroy the objects it created. As long as the
objects live (and if they are static, they live forever ... or until someone
nulls the reference), they will keep a reference to their class. So the classes
can only be GC'd after all static references have been nulled.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to