Thanks Jon,
That worked:)
 

-----Original Message-----
From: Jon Seymour [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 12:41 PM
To: [email protected]
Subject: Re: EAR deployment

On Sat, Dec 6, 2008 at 7:39 AM, Vinh Nguyen (vinguye2)
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Does Axis2 support deployment in an EAR file?  I currently have my 
> Axis2 application packed in a WAR file, minus the libs.  Then I put 
> the WAR in an EAR file.  All the libs are put at the EAR level.  This 
> way, other components in the EAR (i.e. ejbs) can share the same 
> libraries with the
> Axis2 application.  But when I deploy this in JBoss, Axis2 gives me a 
> lot of ClassNotFoundExceptions.
>
> Axis2 seems to expect all classes to be found in the WAR.  But correct

> me if I'm wrong, JEE rules should allow the WAR app to access 
> libraries at the EAR level.

Did you add references to the jars you moved to the META-INF/MANIFEST.MF
file of the war?

If not, you need to.

jon.

---------------------------------------------------------------------
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