The A-MQ broker ends in crashLoopBackOff with the error "Cannot find class [io.fabric8.insight.log.log4j.Log4jLogQuery]"

Solution Verified - Updated -

Issue

  • Using the latest AMQ 6.3 image (1.4-46.1648473924) the A-MQ broker ends in crashLoopBackOff with the error:

    ERROR | Failed to load: class path resource [activemq.xml], reason: Cannot find class [io.fabric8.insight.log.log4j.Log4jLogQuery] for bean with name 'logQuery' defined in class path resource [activemq.xml]; nested exception is java.lang.ClassNotFoundException: io.fabric8.insight.log.log4j.Log4jLogQuery
                   org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [io.fabric8.insight.log.log4j.Log4jLogQuery] for bean with name 'logQuery' defined in class path resource [activemq.xml]; nested exception is java.lang.ClassNotFoundException: io.fabric8.insight.log.log4j.Log4jLogQuery
    

Environment

  • Red Hat AMQ Broker (AMQ Broker) 6.3
    • AMQ Image: 1.4-46.1648473924
  • Red Hat OpenShift Container Platform (RHOCP) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content