commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28291] - [logging] ContextClassLoader may load Log impl from wrong context in JDK 1.4
Date Wed, 16 Mar 2005 12:21:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28291>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28291





------- Additional Comments From skitching@apache.org  2005-03-16 13:21 -------
Robert, why would you think that putting commons-logging.jar in shared/lib would
resolve the issue? 

The problem is caused by Hashtable LogFactory.factories having an entry whose
key is a classloader that has been "undeployed". Shouldn't the solution be to
ensure that LogFactory gets loaded by the *component* classloader, not the
shared classloader, so that when the container "forgets" the component
classloader there are no longer any references to it (apart from circular ones
that the garbage collector can handle)? 

NB: we're talking about JCL-1.0.4 here (no weak references).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message