Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1248

Presence of application.xml in .ear causes nested .sar deployment to be skipped from deployment

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta1
    • 7.0.0.CR1
    • EE
    • None

      If a .ear contains a application.xml as follows:

      <application xmlns="http://java.sun.com/xml/ns/javaee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
          http://java.sun.com/xml/ns/javaee/application_6.xsd"
          version="6">
      </application>
      

      and also packages nested .sar files within the .ear, then those nested deployments are skipped. Removing the application.xml "fixes" the issue.

      Since we allow .sar deployments to be picked up even in the absence of application.xml and since (JBoss specific) .sar deployments can't be mapped as a module in application.xml, it would be good to consider these nested .sar deployments, even in the presence of the application.xml.

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: