Error message "java.lang.ClassNotFoundException: Unable to load class ... bundle wiring for org.apache.activemq.activemq-osgi is no longer valid"

Solution Verified - Updated -

Issue

In a number of circumstances, an application on Fuse that makes a connction to an ActiveMQ broker can fail, with an exception containing the text

Error message "java.lang.ClassNotFoundException: Unable to load class ... bundle wiring for org.apache.activemq.activemq-osgi is no longer valid"

The rest of the exception backtrace is variable, as is the class that is reported as not found.

This problem has been reported when deploying application bundles, deploying particular feature sets, and at run-time when a broker failover occurs. Most likely there are other troublesome scenarios as well. All Fuse and A-MQ releases are potentially affected.

Environment

  • Red Hat JBoss Fuse
    • 6.2
    • 6.3

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