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

module defined in jboss-deployment-structure.xml with fails to parse when annotations=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.Final, 4.0.0.Alpha1
    • 3.0.2.CR1
    • Server
    • None

      21:15:06,004 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "application-exception-using-dynamic-module.ear")]) - failure description: {"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-api\".main]",
          "jboss.deployment.subunit.\"application-exception-using-dynamic-module.ear\".\"application-exception-ejb.jar\".PARSE is missing [jboss.module.service.\"deployment.application-exception-api\".main]"
      ]}
      21:15:06,027 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "application-exception-using-dynamic-module.ear" (runtime-name : "application-exception-using-dynamic-module.ear")
      21:15:06,028 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service jboss.module.service."deployment.application-exception-api".main (missing) dependents: [service jboss.deployment.subunit."application-exception-using-dynamic-module.ear"."application-exception-ejb.jar".PARSE, service jboss.deployment.subunit."application-exception-using-dynamic-module.ear"."application-exception-client-singleton.jar".PARSE] 
      
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
        <module name="deployment.application-exception-api">
          <resources>
           <resource-root path="application-exception-api.jar"/>
          </resources>
          <dependencies>
            <module name="javaee.api" export="true"/>
            <module name="javax.api" export="true"/>
          </dependencies>
        </module>  
        <sub-deployment name="application-exception-ejb.jar">
          <dependencies>
            <module name="deployment.application-exception-api" annotations="true" meta-inf="export"/>
          </dependencies>
        </sub-deployment>
      </jboss-deployment-structure>
      

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: