Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7152

Incorrect bundle wiring for activemq classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • jboss-fuse-6.3
    • None
    • None
    • % %

      The issue occurs at certain times like after executing a Camel Route that is polling a file via the SFTP component. Another trigger for the issue was a the child container restart. If the container was restarted once or twice more the error disappears and won't appear even if AMQ brokers are restarted and force the consumers to reconnect to the new master AMQ host.

      ERROR | {ActiveMQ Task-3} [org.apache.activemq.thread.TaskRunnerFactory$1$1] (TaskRunnerFactory.java:182) | 663 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630262 | Error in thread 'ActiveMQ Task-3'
      java.lang.NoClassDefFoundError: org/apache/activemq/util/IOExceptionSupport
      	at org.apache.activemq.transport.TransportFactory.createWireFormatFactory(TransportFactory.java:205)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.createWireFormat(TransportFactory.java:189)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:134)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:91)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:1012)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:147)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      Caused by: java.lang.ClassNotFoundException: Unable to load class 'org.apache.activemq.util.IOExceptionSupport' because the bundle wiring for org.apache.activemq.activemq-osgi is no longer valid.
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1521)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)[org.apache.felix.framework-4.4.1.jar:]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_131]
      	... 11 more
      2017-07-17 13:30:30,860 | ERROR | {ActiveMQ Task-4} [org.apache.activemq.thread.TaskRunnerFactory$1$1] (TaskRunnerFactory.java:182) | 663 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630262 | Error in thread 'ActiveMQ Task-4'
      java.lang.NoClassDefFoundError: org/apache/activemq/util/IOExceptionSupport
      	at org.apache.activemq.transport.TransportFactory.createWireFormatFactory(TransportFactory.java:205)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.createWireFormat(TransportFactory.java:189)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:134)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:91)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:1012)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:147)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[663:org.apache.activemq.activemq-osgi:5.11.0.redhat-630262]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      

            ggrzybek Grzegorz Grzybek
            elomonos Evgenii Lomonosov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: