]
Bartosz Spyrko updated WFCORE-4475:
-----------------------------------
Labels: downstream_dependency (was: )
jboss-deployment-structure.xml with fails to parse when
annotations=true on a sub-deployment module
---------------------------------------------------------------------------------------------------
Key: WFCORE-4475
URL:
https://issues.jboss.org/browse/WFCORE-4475
Project: WildFly Core
Issue Type: Bug
Components: Server
Reporter: Bartosz Spyrko
Assignee: Bartosz Spyrko
Priority: Major
Labels: downstream_dependency
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.
{code}
<?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>
{code}
{code}
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]"
]
}
{code}