Yes, i've tried to put the jar file in all jboss possible lib repositories :
- JBOSS_HOME/lib
- JBOSS_HOME/server/default/lib
- JBOSS_HOME/server/default/nuxeo.ear/lib

but it changes nothing.

The main problem is that javax/xml/namespace/QName belongs to jdk 5. 
Consequently it should not be loaded from other jar but from system class 
loader.

But it seems that system class loader can't load / find this class.

With the following config in jboss-app, Nuxeo has its own class loader and 
delegation to parent is set to false. So jar files in JBOSS_HOME/lib are not 
visible. But default java/javax packages and classes that belongs to jdk 5,  
should be visible through system class loader delegation.

<loader-repository>
             org.nuxeo:loader=nuxeo.ear
      
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>


The problem that i've to understand the whole, is how works jboss class loading 
with OSGi bundle class loading in nuxeo ?

Can someone could explain that, it may helps.

Kind regards.

Luc
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to