]
Jason Greene commented on WFLY-11084:
-------------------------------------
{quote}Thought EJB lookup was a lazy one? Anyway, if this is the case PR should be
rejected and this issue addressed in QS.{quote}
Only instantiation of a component instance is lazy. The JNDI names themselves are mapped
to service dependencies to both determine the proper start order relationship, and to
provide error reporting as to the problem.
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}