]
Kabir Khan updated AS7-6233:
----------------------------
Fix Version/s: (was: 7.1.4.Final (EAP))
System properties referencing each other in domain mode do not work
-------------------------------------------------------------------
Key: AS7-6233
URL:
https://issues.jboss.org/browse/AS7-6233
Project: Application Server 7
Issue Type: Feature Request
Components: Domain Management
Affects Versions: 7.1.2.Final (EAP), 7.1.3.Final (EAP)
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 7.2.0.Alpha1
The following set up:
{code}
<system-properties>
<property name="one" value="one1"/>
<property name="two" value="${one}"/>
</system-properties>
{code}
works in standalone, so
{code}
[standalone@localhost:9999 /] :resolve-expression(expression="${two}")
{
"outcome" => "success",
"result" => "one1"
}
{code}
However, in domain mode the properties get passed in in the wrong order so
{code}
[domain@localhost:9999 /]
/host=master/server=server-one:resolve-expression(expression="${two}")
{
"outcome" => "success",
"result" => "${one}"
}
{code}
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'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: