This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Is there something wrong with this .ear archive? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Is there something wrong with this .ear archive?" Watch "Is there something wrong with this .ear archive?" New topic
Author

Is there something wrong with this .ear archive?

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hi guys. I'm having a problem deploying an ear file in JBoss.

application.xml defines the three modules I have in the EAR file (two beans and 1 java -client.jar)
1o.) entity.jar:
It's got the 3 classes needed for this entity bean. Plus the manifest, ejb-jar.xml and JBoss.xml (do I need Jboss.xml in this jar??
my ejb-jar.xml is:

2o.) client.jar
the client is a java class that connects to the session bean. I have an application-client.xml file inside it, which references the session bean. I do not have JBoss.xml in this jar (not quite sure about this...)
3o.) userMgmt.jar
3 java classes that compose the session bean, a manifest, ejb-jar.xml, and jboss.xml (not quite sure if I should place jboss.xml here)
The error I'm getting is the following:

what I understand is that if I have, for example, 3 ejb jar files I should have 3 ejb-jar.xml files,right?
and what about the JBoss.xml?? should it be on the root of my EAR file??
any help is highly appreciated
thanks


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
I corrected some errors. I'm using ant and was putting the xml files in a wrong directory. I put them in meta-inf\ and cleaned couple of errors. Now I'm only getting this one:

my application-client.xml is:

any ideas??
hithesh gazzala
Greenhorn

Joined: Jan 06, 2004
Posts: 2
hi
did u happen to fix the problem for this,i so pleaze help me out
email:hgazzala@macess.com
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
You should post your application.xml.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there something wrong with this .ear archive?
 
Similar Threads
JBoss compiles, but doesn't run on server
JBoss AS Deployment
MDB deployments in Jboss AS and Jboss ESB server
Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web.
checkIncompleteDeployments()