-----Original Message-----
From: Anatoly Akkerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 4:35 PM
To: jboss-user mailing list
Subject: [jBoss-User] multiple EJB-jars in one EAR deployment problem
(PetStore saga)
....
snapshots of JBoss. The issue is that the Verifier's ClassLoader's
classpath points only to its own EJB, while in a multiple EJB-jar EAR, all
the EJB-jars have to be in the ClassLoader's classpath. There seems to
have been an attempt to fix this in the current snapshot but not fully --
the J2eeDeployer adds all the EJB jars to the common classpath but when it
comes to deploying individual jars, there is still the same classpath
issue.
...
what?? why should ejb jars be in the common classpath?? that is not
accurate.
Shared classes (such as remote interfaces) should be in the common classpath
by putting them in a shared jar. ejb jars should only be visible to the ejb
that uses them.
Try putting classes private to the ejb in the ejb-jar, and shared classes in
a shared jar. that is how I fixed the classloading problem.
....
I'll try to fix it myself if I can. If anyone has done this already, any
pointers to info would be appreciated.
-------------------------------------------------------------------------
Anatoly Akkerman
Computer Science Dept.
Courant Institute of Mathematical Sciences, NYU
719 Broadway, #715 Tel: 212 998-3525
New York, NY 10003 Fax: 212 995-4123
-------------------------------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]