Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16712

[GSS](7.2.z) WFCORE-4475 - jboss-deployment-structure.xml with fails to parse when annotations=true on a sub-deployment module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.6.CR1, 7.2.6.GA
    • 7.1.6.GA, 7.2.0.GA
    • Server
    • None

      Follow up to JBEAP-13094 and JBEAP-14310

      annotations=true on a sub deployment module reference fails to deploy.
      This is the same test app from JBEAP-13094, the only change is the api jar is listed as a module in application.xml and then the j-d-s.xml depends on its deployment module.

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
        <sub-deployment name="application-exception-ejb.jar">
          <dependencies>
            <module name="deployment.application-exception-api.jar" annotations="true" meta-inf="export"/>
          </dependencies>
        </sub-deployment>
        <sub-deployment name="application-exception-client-singleton.jar">
          <dependencies>
            <module name="deployment.application-exception-api.jar" annotations="true" meta-inf="export"/>
          </dependencies>
        </sub-deployment>
      </jboss-deployment-structure>
      
      23:28:46,235 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "application-exception-using-dynamic-module.ear")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.application-exception-using-dynamic-module.ear.application-exception-api.jar\".main"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.deployment.subunit.\"application-exception-using-dynamic-module.ear\".\"application-exception-client-singleton.jar\".PARSE is missing [jboss.module.service.\"deployment.application-exception-using-dynamic-module.ear.application-exception-api.jar\".main]",
              "jboss.deployment.subunit.\"application-exception-using-dynamic-module.ear\".\"application-exception-ejb.jar\".PARSE is missing [jboss.module.service.\"deployment.application-exception-using-dynamic-module.ear.application-exception-api.jar\".main]"
          ]
      }
      

            spyrkob Bartosz Spyrko-Smietanko
            rhn-support-bmaxwell Brad Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: