Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4475

jboss-deployment-structure.xml with fails to parse when annotations=true on a sub-deployment module

    Details

      Description

      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]"
          ]
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  spyrkob Bartosz Spyrko-Smietanko
                  Reporter:
                  spyrkob Bartosz Spyrko-Smietanko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: