JBoss EAP 6.4 and 7.0 fails to starts up when resolving an expression with the default value containing a '$' at the end
Issue
JBoss EAP 6.4 and 7.0 fails to starts up when resolving an expression with the default value containing a '$' at the end.
For example, when I configured the following system property in standalone.xml
:
<system-properties>
<property name="regex_prop_test" value="${my.regex.test:^default$}"/>
</system-properties>
Then JBoss failed to start-up with the following ERROR message:
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([("system-property" => "regex_prop_test")]) - failure description: "JBAS013494: Incomplete expression: ${my.regex.test:^default$}"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6.4.x, 7.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.