]
RH Bugzilla Integration commented on WFCORE-4239:
-------------------------------------------------
Tomas Hofman <thofman(a)redhat.com> changed the Status of [bug
WARN if system-property is already set and is being overridden
--------------------------------------------------------------
Key: WFCORE-4239
URL:
https://issues.jboss.org/browse/WFCORE-4239
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: Brad Maxwell
Assignee: Chao Wang
Priority: Major
Fix For: 8.0.0.Beta2, 8.0.0.Final
WARN if system-property is already set and is being overridden
If user sets a system property using the java opts or on the command line and the same
system property is defined in the standalone.xml, then the standalone.xml value overrides
that passed on the commandline/JAVA_OPTS, a warning would be useful as looking at the logs
(and ps), it shows value1 passed on the command line and nothing indicating that the
value was changed later.
JAVA_OPTS="$JAVA_OPTS -Dmy.system.property=value1"
{code}
<system-properties>
<property name="my.system.property" value="value2"/>
</system-properties>
{code}