[jboss-dev-forums] [JBoss Microcontainer Development] - I want ALL Classloaders to delegate downstream to my jms interfaces (jms.jar)
Ted Hulick
do-not-reply at jboss.com
Thu Feb 17 14:18:02 EST 2011
Ted Hulick [http://community.jboss.org/people/Ted.Hulick%40hp.com] created the discussion
"I want ALL Classloaders to delegate downstream to my jms interfaces (jms.jar)"
To view the discussion, visit: http://community.jboss.org/message/588148#588148
--------------------------------------------------------------
Class loading issue....
I have a jms.jar that is set in the sun.misc.AppClassLoader (base loader)....
The BaseClassLoader seems to pick up any jars in the sun base loader even though it does declare it as a parent...
I want ALL classloaders to delegate downward and pickup classes for the jms.jar in the standard base class loader...
It appears that the JBoss loaders have a "self-first" mentality in that if they find a class in their loader via .jar/etc. then
then they DO NOT delegate downstream - they load their own class...this creates problems with some instrumentation
we have.
So - I want MY jms.jar set in the base sun class loader (i.e. Boot->Ext->Base) to get picked up by all JBoss class loaders
How do I do this or make it happen?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588148#588148]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110217/bc59df43/attachment.html
More information about the jboss-dev-forums
mailing list