Are you sure your JDK is correctly installed? On my Mac OS X machine
for instance, javax/xml/namespace/QName is part of the system jdk
classes.jar. On a linux machine it's in $JAVA_HOME/jre/lib/rt.jar
Florent
On 11 Jan 2008, at 09:45, Luc wrote:
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
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm