Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8311

ClassNotFoundException when ActiveMQRegistry is loaded by a JMS Bridge

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 11.0.0.Alpha1
    • JMS
    • None

    Description

      When a JMS bridge is started with debug log, it shows the exception:

      2017-03-01 13:18:45,894 DEBUG [org.apache.activemq.artemis.jms.bridge] (ServerService Thread Pool -- 70) unable to load  recovery registry org.jboss.as.messaging.jms.AS7RecoveryRegistry: java.lang.NoClassDefFoundError: org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQRegistry
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.locateRecoveryRegistry(JMSBridgeImpl.java:1885)
      	at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.start(JMSBridgeImpl.java:333)
      	at org.wildfly.extension.messaging.activemq.jms.bridge.JMSBridgeService.startBridge(JMSBridgeService.java:105)
      	at org.wildfly.extension.messaging.activemq.jms.bridge.JMSBridgeService$1.run(JMSBridgeService.java:76)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.ClassNotFoundException: org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQRegistry from [Module "org.apache.activemq.artemis:main" from local module loader @7bfcd12c (finder: local module finder @42f30e0a (roots: /home/bershath/apps/jboss/7/jboss-eap-7.0/modules,/home/bershath/apps/jboss/7/jboss-eap-7.0/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.4.CP,/home/bershath/apps/jboss/7/jboss-eap-7.0/modules/system/layers/base))]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
      	... 8 more
      

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: