Well, it is really weird, some of my libraries inside lib/ are getting recognized and some are not! for example a lucene dependency it not being recognized, so my EJBDeployer quits with a NoClassDefFoundError...

my structure looks like this:

app.ear
+--lib/
+--META-INF/
web1.war
ejb1.jar

Mike Perham schrieb:
We are using this exact version of jboss with ears with about 50-60 jars
and don't have to do this.  The jars are in a lib/ directory inside the
ear and we have 2-3 wars in the root of the EAR.  The wars all have
manifest.mfs with Class-Path entries that reference the jars like this.
Class-Path: lib/commons-logging-1.0.4.jar ...

The application.xml just contains the 2-3 web module entries.

-----Original Message-----
From: Hannes Carl Meyer [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 1:55 PM
To: [email protected]
Subject: EAR Plugin / application.xml / Deployment on JBoss

Hey there,

I'm currently using the EAR-plugin to generate my application including a WAR, EJBs and a lot of dependencies.
My target Application Server is a JBoss - now here comes my question: is

it possible to automatically include
the dependencies inside the autogenerated application.xml as java
modules?

Because since my JBoss 4.0.3-SP1 doesn't recognize libraries inside the EAR without putting them in application.xml as a java module
it is pretty difficult to include the deps by hand.. :-(

I know how to put <javaModule> inside the pom.xml but I have nearly a houndred dependencies.

Thank you in advance and best regards

Hannes

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to