File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Build ear file for Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Build ear file for Jboss" Watch "Build ear file for Jboss" New topic
Author

Build ear file for Jboss

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
I have files/directories in the following structure

dfxs
- APP-INF (directory)
- META-INF (directory)
- services-dfxs.war (file)

I need to create an ear file from this and deploy it into Jboss. To do this I zipped these 2 directories and file to a single zip file, and changed the extension to .ear.

When I copied the resultant ear file to the deploy directory of Jboss 5.1.0 (and restarted the server), I got the following error -

00:00:35,886 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@1ca1a68[ defaultDomain='jboss' ]
00:00:46,150 ERROR [ProfileDeployAction] Failed to add deployment: dfxs.ear
org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(dfxs.ear)

Can someone please let me know the right procedure to deply

00:00:35,886 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@1ca1a68[ defaultDomain='jboss' ]
00:00:46,150 ERROR [ProfileDeployAction] Failed to add deployment: dfxs.ear
org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(dfxs.ear)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Build ear file for Jboss