JBoss Community

I want ALL Classloaders to delegate downstream to my jms interfaces (jms.jar)

created by Ted Hulick in JBoss Microcontainer Development - View the full discussion

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

Start a new discussion in JBoss Microcontainer Development at Community