Hi sim085,

I know the EAR you made can be deployed on JBoss successfully. Maybe,
you could try to add the Class-Path key in MANIFEST.MF of EJB JAR. If it
doesn't work yet, please refer mechanism of class loaders of Geronimo.

Hope it is helpful to you.

 
Thanks,
 
Diego

-----Original Message-----
From: sim085 [mailto:[email protected]] 
Sent: Thursday, 16 December 2010 06:35
To: [email protected]
Subject: Re: How to package a JAR file in an EAR file so that this can
be accessed by all other modules (ex: EJB, WAR, etc)


I do have com.test.persistence project listed under the dependencies and
in fact this is added to the ear file just like the other projects (ejb
and war). However when I try to deploy the ear file I get the error from
geronimo. 

I do not know if the error is because I lack some configuration setting
or else because Geronimo does not realise that the ehb module needs the
persistence module and therefore one should be deplpoyed before the
other.
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-package-a-JAR-file-in-an-EAR-fil
e-so-that-this-can-be-accessed-by-all-other-modules-ex-EJB-WA-tp3306790p
3307114.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to