Details
-
Feature Request
-
Resolution: Done
-
Major
-
7.1.2.Final (EAP), 7.1.3.Final (EAP)
-
None
Description
The following set up:
<system-properties> <property name="one" value="one1"/> <property name="two" value="${one}"/> </system-properties>
works in standalone, so
[standalone@localhost:9999 /] :resolve-expression(expression="${two}") { "outcome" => "success", "result" => "one1" }
However, in domain mode the properties get passed in in the wrong order so
[domain@localhost:9999 /] /host=master/server=server-one:resolve-expression(expression="${two}") { "outcome" => "success", "result" => "${one}" }
ManagedServerOperationsFactory.getAllSystemProperties() should use a LinkedHashMap to preserve the order of the system properties, since at the moment in the server 'two' gets added before 'one'