]
Brian Stansberry commented on WFLY-11084:
-----------------------------------------
Unless having the circular dependency is somehow critical to what the QS is demonstrating,
it could be reworked to not have that. Don't have appA depend on appB. If
demonstrating more than one inter-app dependency is wanted, introduce an appC.
inter-app quickstart does not deploy (WildFly 14.0.1)
-----------------------------------------------------
Key: WFLY-11084
URL:
https://issues.jboss.org/browse/WFLY-11084
Project: WildFly
Issue Type: Bug
Reporter: Kevin Eagles
Assignee: Bartosz Baranowski
Priority: Critical
Using Wildfly 14.0.1.Final
When deploying inter-app-appA.war, Wildfly complains about the EJB lookup for:
@ejb(lookup =
"java:global/inter-app-appB/BarImpl!org.jboss.as.quickstarts.interapp.shared.Bar")
Likewise, when deploying inter-app-appB.war, Wildfly complains about the EJB lookup for:
@ejb(lookup =
"java:global/inter-app-appA/FooImpl!org.jboss.as.quickstarts.interapp.shared.Foo")
To reproduce, from the inter-app quickstart:
mvn install wildfly:deploy
Can also reproduce by just doing an mvn install, then manually deploying the jar, then
appA, then appB using the HAL Management Console.
{noformat}
ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment" =>
"inter-app-appA.war")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.naming.context.java.global.inter-app-appB.\"BarImpl!org.jboss.as.quickstarts.interapp.shared.Bar\""],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["jboss.naming.context.java.module.inter-app-appA.inter-app-appA.env.\"org.jboss.as.quickstarts.interapp.appA.Imports\".bar
is missing
[jboss.naming.context.java.global.inter-app-appB.\"BarImpl!org.jboss.as.quickstarts.interapp.shared.Bar\"]"]
}
09:56:51,014 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021:
Deploy of deployment "inter-app-appA.war" was rolled back with the following
failure message:
{
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.naming.context.java.global.inter-app-appB.\"BarImpl!org.jboss.as.quickstarts.interapp.shared.Bar\""],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["jboss.naming.context.java.module.inter-app-appA.inter-app-appA.env.\"org.jboss.as.quickstarts.interapp.appA.Imports\".bar
is missing
[jboss.naming.context.java.global.inter-app-appB.\"BarImpl!org.jboss.as.quickstarts.interapp.shared.Bar\"]"]
}
{noformat}