Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4002

Support env $JAVA_ARGS_APPEND to override by appending to the java command used by the scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.25.0
    • 2.27.0
    • Configuration
    • None

    Description

      logging was one use case, overriding jaas login.config is another. From an env var, be able to append values to the command line such that system property values can be overridden.
      There is DEBUG_ARGS - but those are good to use for debug, it is not ideal to set DEBUG_ARGS=-Djaas.login.config=x.y when you want to provide some explicit java config.
      Would JAVA_ARGS_APPEND work?
      The JDK_JAVA_OPTIONS can work for new bits, but because that is prepended to the command line, it cannot be used to override a value provided by the script.

      We add it after DEBUG_ARGS on the command line.

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m