File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there something wrong with this .ear archive?

 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 367
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should post your application.xml.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic