6 Replies Latest reply on Oct 17, 2004 4:50 AM by erezharari

    CAN'T JBOSS DEPLOY EXPLODED EAR?

    erezharari

      CAN'T JBOSS DEPLOY EXPLODED EAR?

      --------------------------------------------------------------------------------

      i'm trying to deploy an EAR in exploded format, but it fails: No META-INF/application.xml found

      my EAR is as follows:

      lib/
      META-INF/application.xml
      Site1.war/
      Site2.war/

      application.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
      <application>
       <display-name>Sites3</display-name>
       <module>
       <web>
       <web-uri>Site1.war</web-uri>
       <context-root>/Site1</context-root>
       </web>
       </module>
       <module>
       <web>
       <web-uri>Site2.war</web-uri>
       <context-root>/Site2</context-root>
       </web>
       </module>
      </application>


      ERROR:[org.jboss.deployment.MainDeployer]: Could not initialise deployment:
      file:/d:/iBOLTPortal/Sites3.ear
      org.jboss.deployment.DeploymentException: No META-INF/application.xml found
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:117)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:700)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)

      ...
      ERROR:[org.jboss.deployment.scanner.URLDeploymentScanner]: Incomplete
      Deployment listing:
      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@3715a959 {
      url=file:/d:/iBOLTPortal/Sites3.ear }
      deployer: org.jboss.deployment.EARDeployer@70610a
      status: null
      state: FAILED
      watch: file:/d:/iBOLTPortal/Sites3.ear
      lastDeployed: 1096201105898
      lastModified: 1096200770881
      mbeans: