Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3263

Improper Quoting in Generated artemis.profile File - Causing Start Failures in Some Environments

    XMLWordPrintable

Details

    • -
    • Hide
      In previous releases, the `JAVA_ARGS` line of the generated `artemis.profile` file incorrectly included quotation marks around the default value of the `hawtio.offline` parameter (that is, `Dhawtio.offline="true"`). This formatting error could cause the broker to fail to start in some environments. This issue is now resolved.
      Show
      In previous releases, the `JAVA_ARGS` line of the generated `artemis.profile` file incorrectly included quotation marks around the default value of the `hawtio.offline` parameter (that is, `Dhawtio.offline="true"`). This formatting error could cause the broker to fail to start in some environments. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release

    Description

      The JAVA_ARGS line in the generated artemis.profile contains nested quotes around the hawtio.offline value:

      JAVA_ARGS=" -XX:+PrintClassHistogram -XX:+UseG1GC -Xms512M -Xmx2G -Dhawtio.realm=activemq  -Dhawtio.offline="true" -Dhawtio.role=amq -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml -Djon.id=amq"
      

      This was observed to cause a start failure in certain environments.

      Attachments

        Issue Links

          Activity

            People

              dbruscin Domenico Francesco Bruscino
              rhn-support-dhawkins Duane Hawkins
              Roman Vais Roman Vais
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: