[jboss-user] [EJB 3.0] - Exploded EAR

oliverchua do-not-reply at jboss.com
Sat Aug 12 03:22:24 EDT 2006


Hi, I'm trying out exploded directories.
I've used The EJB3Trail.ear, it's working when I deploy it as an ear file.

Now, when I unzip the ear file to a folder, named c:/EJB3Trail.ear
I have
META-INF
  |      application.xml
  | beans.jar
  | web.war

which looks ok...

Then, I add c:/EJB3Trail.ear to the jboss-service.xml file under URLs.
Next, I run jboss, but get this error:

17:14:17,568 INFO  [EARDeployer] Init J2EE application: file:/C:/EJB3Trail.
  | ear
  | 17:14:17,578 ERROR [MainDeployer] Could not initialise deployment: file:/C:/EJB3Trail.ear
  | org.jboss.deployment.DeploymentException: No META-INF/application.xml found
  |         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133)

Based on the error message, it seems it can see the c:/EJB3Trail.ear but cannot find the application.xml.
Please note that the META-INF folder is in all caps, so it should not cause this problem.

Anyone having the same problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964742#3964742

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964742



More information about the jboss-user mailing list