• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Build ear file for Jboss

 
Thomas Greene
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic