Hello,
I try to integrate JBoss with castor and I have the followibg exception :
java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:130)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:119)
at org.jboss.jdo.castor.CastorJDOImpl.<init>(CastorJDOImpl.java:94)
at java.lang.reflect.Constructor.newInstance(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServ
erImpl.java:2210)
at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.ja
va:761)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
at org.jboss.Main.<init>(Main.java, Compiled Code)
at org.jboss.Main$1.run(Main.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:83)
I have add this to my jboss.conf, the xerces.jar file is added in the
lib/ext folder.
<MLET CODE="org.jboss.jdo.castor.CastorJDOImpl" ARCHIVE
="jboss.jar,xerces.jar,castor-0.8.11.jar" CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="file:../conf/odata/database.xml">
<ARG TYPE="java.lang.String" VALUE="jdo/odata">
<ARG TYPE="java.lang.Integer" VALUE="0">
<ARG TYPE="java.lang.Boolean" VALUE="false">
<ARG TYPE="java.lang.Boolean" VALUE="false">
</MLET>
I hope someone can help me
_Christophe
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]