Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2320

AMQ 6 OCP image - Java Console Unaccessible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • container-image
    • None
    • Hide

      This can be done as follows in the OpenShift console:

      1) Applications -> Deployments. Then select the broker deployment
      2) Select Edit from the Actions dropdown
      3) Scroll to the Environment Variables section and add each of the Jolokia variables
      4) Click Save

      Show
      This can be done as follows in the OpenShift console: 1) Applications -> Deployments. Then select the broker deployment 2) Select Edit from the Actions dropdown 3) Scroll to the Environment Variables section and add each of the Jolokia variables 4) Click Save

      Deploying the AMQ 6 image on OCP 3.11 requires additional configuration in order to access the Java Console.

      The following variables need to be added to the deployment configuration:

      - name: AB_JOLOKIA_AUTH_OPENSHIFT
           value: 'false'
      - name: AB_JOLOKIA_PASSWORD_RANDOM
           value: 'false'
       - name: AB_JOLOKIA_HTTPS
            value: 'false'
      

      Without this configuration the Java Console will return a HTTP 401 and is unaccessible.

      The AMQ 6 deployment configuration should be updated to include these by default.

              gaohoward Howard Gao
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: