Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1654454

Summary: [GSS](6.4.z) WARN if system-property is already set and is being overridden
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: ServerAssignee: Chao Wang <chaowan>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact: eap-docs <eap-docs>
Priority: unspecified    
Version: 6.4.21CC: chaowan, jason.greene, pmackay, thofman
Target Milestone: CR1   
Target Release: EAP 6.4.22   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:40:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1613417, 1767088, 1768992    

Description Brad Maxwell 2018-11-28 20:17:54 UTC
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}

Comment 2 Peter Mackay 2019-05-08 20:17:17 UTC
Regression tests passed
Verified with EAP 6.4.22.CP.CR1