Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3409

Deploy a .ear file with no deployment descriptor(META-INF/application.xml)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBossAS-5.0.0.Beta1
    • JBossAS-5.0.0.Beta1
    • Deployers
    • None

      The javaee5 spec (EE8.4.2 Deploying a Java EE application) has a set of rules to deploy an application .ear file which does not have a deployment descriptor. (descriptorMETA-INF/application.xml)

      Currently we get a RunTimeException when the application.xml is not found.
      org.jboss.deployment.spi.DeploymentManagerImpl@16b8f8eb
      java.lang.RuntimeException: cannot obtain module type
      07-21-2006 13:12:57: Harness - Deployment of app(s) from: /home/rrajasekaran/tck5/javaeetck/dist/com/sun/ts/tests/samples/javamail/ee/transport failed!
      at org.jboss.deployment.spi.DeploymentManagerImpl.createDeployment(DeploymentManagerImpl.java:481)
      at org.jboss.deployment.spi.DeploymentManagerImpl.distribute(DeploymentManagerImpl.java:348)

      The moduleType in org.jboss.deployment.spi.DeploymentManageImpl.createDeployment() is not set when the application.xml is not set.

      All CTS tests deploy .ear files with no application.xml

      I ve made this issue a blocker because unless this is fixed we would be unable to run the cts tests.

              dandread1@redhat.com Dimitrios Andreadis
              rrajasek@redhat.com Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: