Newly created JVM fails to start because of missing/failed dependencies
Issue
- Two
JBoss instances
with node ids n1 & n2 created and started successfully. Thirdjboss instance
is created and getting failed to start because of below errors:
WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "undertow")]) - failure description: "WFLYCTL0211: Cannot resolve expression '${jboss.instance.id}'"
-
-
WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.ws.config is missing [jboss.undertow]"]
}
The issue is related to the configuration in the domain.xml file, when it is removed the below configuration from "undertow" subsystem the issue is solved.
<subsystem xmlns="urn:jboss:domain:undertow:12.0" instance-id="${jboss.instance.id}">
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.