aspose file tools
The moose likes JBoss and the fly likes Build ear file for Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Build ear file for Jboss
 
Similar Threads
EJB 2.1 migration from WebSphere to JBoss 5.1 Deployment issue - ClassCastException
InvokeRemoteInterceptor is already installed
JBoss 5.1.0 won't start as a service but will do so when you run it from the command prompt
Error during Migrating from Jboss4.0.5.GA to Jboss5.0.0.GA
High Java.exe CPU usage after JBoss service install