Bug 1654454 - [GSS](6.4.z) WARN if system-property is already set and is being overridden
Summary: [GSS](6.4.z) WARN if system-property is already set and is being overridden
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Server
Version: 6.4.21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.22
Assignee: Chao Wang
QA Contact: Peter Mackay
eap-docs
URL:
Whiteboard:
Depends On:
Blocks: 1768992 eap6422-payload 1767088
TreeView+ depends on / blocked
 
Reported: 2018-11-28 20:17 UTC by Brad Maxwell
Modified: 2022-03-13 16:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:40:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-15939 0 Major Verified [GSS](7.2.z) WFCORE-4239 - WARN if system-property is already set and is being overridden 2020-10-14 10:16:20 UTC
Red Hat Issue Tracker WFCORE-4239 0 Major Resolved WARN if system-property is already set and is being overridden 2020-10-14 10:16:20 UTC

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


Note You need to log in before you can comment on or make changes to this bug.