Hi Christophe,

I guess you have the castor jar file in the "global" classpath,
I mean CLASSPATH environment variable or jre/lib/ext.
Remove it from there and put to jboss/lib/ext.

Regards,
 Oleg

On Wednesday 31 January 2001 13:36, [EMAIL PROTECTED] 
wrote:
> 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(MBeanSe
>rv 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
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to