aspose file tools*
The moose likes JBoss/WildFly and the fly likes Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format" Watch "Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format" New topic
Author

Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format

Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
Hi,

Does JBOSS support .ear file only. My project is in Eclipse and JBOSS-SEAM. Whenever I deploy on the server through the IDE it deploys the app in an EXPLODED format.
Does JBOSS support only .ear file like other Application Servers ?
Is there a way to deploy .ear file only ?

Any response is highlu appreciated.

Thanks
Soumya
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

You can deploy any application as an archive file or as an exploded directory. The only requirement is that, whether file or directory, it must contain the extension (that is, must end in .ear or .war or ...). The IDE is probably deploying as an exploded directory just because it then is easier to update individual files. But you can create an EAR file and copy that to the deploy directory (make sure you remove the exploded EAR directory first, though).
[ August 15, 2008: Message edited by: Peter Johnson ]

JBoss In Action
Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
Hi Peter,

Thanks for your reply. I had already figured that out and it works well also.

Thanks once again and JBOSS is great !

Soumya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format
 
Similar Threads
problem with classpath
JBoss 5 Exploded and Incremental Deploy
Deploying external exploded directory as an application
Can you store persistence.xml in an ear file?
Error during Migrating from Jboss4.0.5.GA to Jboss5.0.0.GA