Sorry Oleg !!
1 - Simple question :
I have create a myBO.jar that contains my classes that should be persisted,
how can I update my classpath to allow my EJBs to find theses classes ?
Do I set the CLASSPATH variable or I add it to the MLET ?
2 - Here is the log:
In the class path I have no castor... jar file !!! I have verify this,
I have verify my classpath and all sounds right !
[ODATAServicesRegistry] java.lang.NoClassDefFoundError:
org/exolab/castor/jdo/DataObjects
[ODATAServicesRegistry] at
lds.applayers.odata.acquisition.ListenerJDOTestLoad.start(ListenerJDOTestLoad.java,
Compiled Code)
[ODATAServicesRegistry] at
lds.faf.services.FAFServiceDefaultImpl.run(FAFServiceDefaultImpl.java:82)
[ODATAServicesRegistry] at java.lang.Thread.run(Unknown Source)
[ODATAServicesRegistry] getServices : NB Services:1
[ODATAServicesRegistry] [ODATAServicesRegistry] - ejbStore()
The lds.... classes are others classes of my application !
<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>
Hope you can help me !
Thanks ...
Christophe
Oleg Nitz
<[EMAIL PROTECTED]> To: "jBoss"
<[EMAIL PROTECTED]>
Sent by: cc:
<[EMAIL PROTECTED] Subject: Re: [jBoss-User] JDO
/ EJB : Need your help
-dogs.com>
02/01/01 12:32 PM
Please respond to
"jBoss"
Hello Christophe,
[EMAIL PROTECTED][10\.1\.1\.3]claimedtobekorba.linedata.com
wrote:
> Hello Oleq,
My name is Oleg, but Oleq sounds better :-)
> (I know you are THE expert that can help me !!!)
We'll see :-)
> I try to get a JDO connection from a Entity and I get a
> NoClassDefFoundError
> The exception :
> ------------------------
> [ODATAServicesRegistry] java.lang.NoClassDefFoundError:
> org/exolab/castor/jdo/DataObjects
Could you show me several next lines of the stack trace?
> The files "jboss.jar,castor-0.8.11.jar,xerces.jar" are in my folder
> jboss/lib/ext, so I do not understand why I have this error
Are you sure that you don't have castor-0.8.11.jar or
jboss-castorjdo.jar in the global CLASSPATH or in jre/lib/ext?
Check once more, please.
Oleg
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]