tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <>
Subject RE: ejb-jar.xml and JBoss
Date Wed, 10 Feb 2010 19:41:15 GMT
ejb-jar.xml should only be in yourjar.jar:!/META-INF/ nowhere else.  If
you're using maven2, are you setting the packaging to ejb?  If you do, it
should automatically pull the file from src/main/resources/META-INF into the
jar in the appropriate location.

-----Original Message-----
From: Didier [] 
Sent: Wednesday, February 10, 2010 11:01 AM
Subject: ejb-jar.xml and JBoss

Hi, I am new to OpenEJB and I am trying to deploy a jar tested under OpenEJB
to Jboss (with Maven 2) 
All works fine...but JBoss don't like the ejb-jar.xml file into
src\main\resources\META-INF directory !
If I remove it, now openEJB failed! If i put the file inte
src\test\resources, OpenEJB don't see it (why?)
I 've found a solution : exclude the file from the JAR's build with Maven
Is it the right way to do?
Thanx in advance (and pardon my poor english ^^)

Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
No virus found in this incoming message.
Checked by AVG - 
Version: 8.5.435 / Virus Database: 271.1.1/2679 - Release Date: 02/10/10

View raw message