"Cannot resolve expression" error during start up with instance-id pointed to a system property
Issue
- When we set instance-id to a system property like so:
<subsystem xmlns="urn:jboss:domain:web:1.1" ... instance-id="${jboss.jvmRoute}">
- JBoss throws the following error during start up:
ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 45) JBAS014613: Operation ("add") failed - address: ([("subsystem" => "web")]) - failure description: "JBAS014802: Cannot resolve expression 'expression \"${jboss.jvmRoute}\"' -- java.lang.IllegalStateException: Failed to resolve expression: ${jboss.jvmRoute}"
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
