You can put the .sar in your EJB .jar file to give your beans access to it.
Not sure about other stuff in the .ear - I'm assuming you have an EJB .jar
in the .ear
JD
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 10:13 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] classpath
Hello!
Can anyone please point me, how can I place my JARs within EAR application to be able to use defined there classes wintin EnterpriseBean?
Now I have 2 archives:
- EAR with beans and webbapp;
- SAR with oracle-servise.xml and my utility classes;
Howewer, in deployment time everithing is ok. No one exception, and I can see in logs that my SAR is deployed.
But in runtime, when I try to call one of method of my bean, when I use my utility classes, I got Exception NoCassDefFoundError.
May be I need to define this in descriptor? Or to place this archive somehow special?
Best regards,
Andrey Onistchuk.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user