Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create an .ear  RSS feed

 
Mehul Mistry
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

Can someone pls tell how to create an .ear file. I've developed a session bean with .jar file and a struts application in .war file. I've tried to combine them in .ear file but it failed while deploying on the weblogic 9.0.
I used follwing command...

jar cvf MyApp.ear sessionBean.jar webApp.war

Is there some other things i've to take care of before creating .ear file.

Thank you.
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application.xml in META-INF directory. for wls weblogic-application.xml is optional. other app servers use similaraly named optional files

Either see the bea or sun documentation

Ear file structure

What errors are you getting when it fails?
[ October 29, 2006: Message edited by: Carol Enderlin ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an advanced question. Moving...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!