unable to establish connection to JMS - Could not refresh JMS Connection for destination
Issue
- In Red Hat Fuse 6.3 Fabric setup we are deploying an application which connects to weblogic as consumer. But it throw following exception.
2021-02-28 23:35:24,967 | ERROR | SubscriberQueue] | faultJmsMessageListenerContainer | 309 - org.apache.servicemix.bundles.spring-jms - 3.2.18.RELEASE_1 | Could not refresh JMS Connection for destination 'ECOMSubscriberQueue' - retrying in 5000 ms. Cause: AOP configuration seems to be invalid: tried calling method [public abstract javax.jms.Connection javax.jms.ConnectionFactory.createConnection() throws javax.jms.JMSException] on target [weblogic.jms.client.JMSXAConnectionFactory@8d7362d]; nested exception is java.lang.IllegalArgumentException: java.lang.ClassCastException@59e5c7e2
2021-02-28 23:35:29,968 | ERROR | SubscriberQueue] | faultJmsMessageListenerContainer | 309 - org.apache.servicemix.bundles.spring-jms - 3.2.18.RELEASE_1 | Could not refresh JMS Connection for destination 'ECOMSubscriberQueue' - retrying in 5000 ms. Cause: AOP configuration seems to be invalid: tried calling method [public abstract javax.jms.Connection javax.jms.ConnectionFactory.createConnection() throws javax.jms.JMSException] on target [weblogic.jms.client.JMSXAConnectionFactory@8d7362d]; nested exception is java.lang.IllegalArgumentException: java.lang.ClassCastException@59e5c7e2
- Same code works well with Red Hat Fuse 6.3 in standalone setup.
Environment
- Red Hat Fuse
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.