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

AMQ 6.3 container image: move to reload4j+slf4j-reload4j and add jars back to drainClasspath needed by ce-amq + restore log4j.properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

      Deploy the latest version of image(starting from 1.4-46.1648473924), and scale up drainer pod; only stdout lines are print, no log lines like "[INFO] ....". 

      Show
      Deploy the latest version of image(starting from 1.4-46.1648473924), and scale up drainer pod; only stdout lines are print, no log lines like " [INFO] ....". 

    Description

      (Sorry that I could not find project = JBoss AMQ or AMQ container image, so I set project to be the nearest, AMQ client)

      I know AMQ 6.3 Openshift image is in maintenance mode, but I guess this issue was introduced by latest maintenance so if possible, please fix it. 

      In latest versions of AMQ 6.3 Openshift images, drainer pod does not print log. It is because of the recent effort to remove log4j jars from /opt/amq/bin/drainClasspath.sh (commit hash 0971164d9d24daef732b5cfcccfa4fe8bd0198cf). It leads to 2 missing jars from drainClasspath.sh. However, ce-amq-drain-1.0.3.Final-redhat-1.jar is still using log4j 1(https://github.com/jboss-openshift/ce-amq/blob/v1.0.3.Final/pom.xml), and it's already the latest version, so drainer classpath should contain these jars too.

       

      {{Before ce-amq moving to log4j 2, we should: }}

      • switch to reload4j + slf4j-reload4j so to fix vulnerabilities
      • add the respective jars back to drainer classpath
      • restore log4j.properties 

      while broker still staying with log4j 2. 

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            notrequiredfield Yangliang Ding (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: