0 Replies Latest reply on May 22, 2005 7:30 AM by roberto

    Ear and War file

      It's possible to deploy a ear file (compressed) that contains a expanded war?
      I try it on jboss 3.2.7 but this exception occurs:

      ...
      13:24:07,386 INFO [EARDeployer] Init J2EE application: file:/D:/jboss/server/default/deploy/absall.ear
      13:24:24,040 ERROR [MainDeployer] Could not initialise deployment: file:/D:/jboss/server/default/deploy/absall.ear
      org.jboss.deployment.DeploymentException: Failed to find module file: nowui.war
       at org.jboss.deployment.EARDeployer.init(EARDeployer.java:232)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      ...
      


      If i deploy the same ear all expanded or i compress the war in a single file and deploy it in a compress ear all works fine.

      In my application xml i have:

      ....
       <description>ABSolution</description>
       <module>
       <web>
       <web-uri>nowui.war</web-uri>
       <context-root>abs</context-root>
       </web>
       </module>
       <module id="apll.jar">
      ...