Not able to create JMS bridge to Oracle Queue

Solution Verified - Updated -

Issue

  • This is configuration issue for a configuration we are trying in JBoss EAP 7.0 to get local Active-MQ connection to Remote Oracle OSB queue We are getting a ClassCastException as follows:
WARN [org.apache.activemq.artemis.jms.bridge] (Thread-92) AMQ342010: Failed to connect JMS Bridge: java.lang.ClassCastException: weblogic.jms.common.DestinationImpl cannot be cast to javax.jms.Destination
at org.apache.activemq.artemis.jms.bridge.impl.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:32)
at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(JMSBridgeImpl.java:1020)
at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjectsWithRetry(JMSBridgeImpl.java:1209)
at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$2300(JMSBridgeImpl.java:75)
at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$FailureHandler.run(JMSBridgeImpl.java:1727)
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)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.