[Bug 63049] New: Add support in system properties override from commandline (Enhancement)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 63049] New: Add support in system properties override from commandline (Enhancement)

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63049

            Bug ID: 63049
           Summary: Add support in system properties override from
                    commandline (Enhancement)
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: -----

System properties may be used in configuration files with the following
notation: ${propertyName}

System properties can be added by -Dpropname=propvalue in commandline or in
catalina.properties.

catalina.properties are stronger than the commandline arguments.

Meaning, if you set the same property in catalina.properties and in -D syntax,
than the catalina.properties will win.

It is expected that the commandline arguments will be stronger.

I suggest changing the order and making the commandline arguments stronger.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63049] Add support in system properties override from commandline (Enhancement)

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63049

--- Comment #1 from Igal Sapir <[hidden email]> ---
I, too, expect System properties that are set via JVM args to take precedence
over properties set in config files.

If there is a concern over permissions of modifying files vs. execute, as Chris
pointed out in the mailing list, then perhaps this feature can be added as
"opt-in" with a "master switch" property that enables it.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63049] Add support in system properties override from command line

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63049

Mark Thomas <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement
            Summary|Add support in system       |Add support in system
                   |properties override from    |properties override from
                   |commandline (Enhancement)   |command line

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63049] Add support in system properties override from command line

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63049

--- Comment #2 from Mark Thomas <[hidden email]> ---
dev@ list thread:
https://lists.apache.org/thread.html/8317a1a0d12b48b5746ee8e9e2eded1c00a0b458d3ecbc585c914f2b@%3Cdev.tomcat.apache.org%3E

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]