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

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

XMLWordPrintable

    • -
    • 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

      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.

              dbruscin Domenico Francesco Bruscino
              rhn-support-dhawkins Duane Hawkins
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: