[jboss-jira] [JBoss JIRA] (WFCORE-4239) WARN if system-property is already set and is being overridden
Brad Maxwell (Jira)
issues at jboss.org
Wed Nov 28 15:16:00 EST 2018
Brad Maxwell created WFCORE-4239:
------------------------------------
Summary: 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: Jeff Mesnil
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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list