[jboss-jira] [JBoss JIRA] (WFCORE-4239) WARN if system-property is already set and is being overridden
Chao Wang (Jira)
issues at jboss.org
Wed Dec 5 03:59:00 EST 2018
[ https://issues.jboss.org/browse/WFCORE-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Wang reassigned WFCORE-4239:
---------------------------------
Assignee: Chao Wang (was: Jeff Mesnil)
> 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
>
> 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