Classloader conflict when using IBM W-MQ OSGi bundles in Fuse 6.3.0

Solution Unverified - Updated -

Issue

This problem is seen when using the OSGi version of the WebSphere MQ (W-MQ) client runtime with Fuse 6.3.0. A Camel route that communicates with W-MQ fails to start, and the following message is seen in the Fuse log:

Caused by: java.lang.Exception: Unable to convert value |   com.ibm.mq.jms.MQConnectionFactory@c79b6829  :-
...
to type javax.jms.ConnectionFactory
        at org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:184)[21:org.apache.aries.blueprint.core:1.4.5]
...

Environment

  • JBoss Fuse
    • 6.3.0
  • IBM WebSphere MQ Client
    • 7.5
    • 8.0

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