On Thu, 01 Feb 2001, you wrote:
> Hello,
>
> I try to get a JDO connection from a Entity and I get a
> NoClassDefFoundError
>
> [ODATAServicesRegistry] java.lang.NoClassDefFoundError:
> org/exolab/castor/jdo/DataObjects
>
<polite cough> caster-0.8.11.jar _is_ in JBOSS_HOME/lib/ext, isn't it?
Sorry, but it's always safest to make sure at the beginning.
Other than that, I don't even have Castor, so I can't help. Try things like:
$ cd JBOSS_HOME/lib/ext
$ export CLASSPATH=./caster-0.8.11.jar
$ javap org.exolab.castor.jdo.DataObjects
and make sure it _is_ there, although I guess it compiled correctly so it must
be.
Tom
> I have add this to my jboss.conf
>
> <MLET CODE = "org.jboss.jdo.castor.CastorJDOImpl" ARCHIVE
> ="jboss.jar,castor-0.8.11.jar,xerces.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="true">
> <ARG TYPE="java.lang.Boolean" VALUE="true">
> </MLET>
>
> It sounds that the ARCHIVE is not see by my bean !!!
>
> Can you help me
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]