aspose 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
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
 
Similar Threads
High Java.exe CPU usage after JBoss service install
InvokeRemoteInterceptor is already installed
EJB 2.1 migration from WebSphere to JBoss 5.1 Deployment issue - ClassCastException
Error during Migrating from Jboss4.0.5.GA to Jboss5.0.0.GA
JBoss 5.1.0 won't start as a service but will do so when you run it from the command prompt