My Oracle Support Banner

JMS Adapter Does Not Reconnect To Remote JMS Provider (Doc ID 2870626.1)

Last updated on MAY 20, 2022

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.3.0 version, Orchestration Engine
JMS adapter is used in a composite to connect to IBM MQ for z/OS V9.1.0 LTSR.
IF MQ is restarted, the JMS adapter fails to reconnect to MQ once this is available again.

Error in the soa log files:

[2022-01-11T15:59:18.078+01:00] [soa_server_1] [ERROR] [] [oracle.soa.adapter.jms.inbound] [tid: DaemonWorkThread: '11' of WorkManager: 'default_Adapters'] [userId: <anonymous>] [ecid: ecid_no] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [composite_name: xxxxx] [composite_version: xxxxx] [endpoint_name: enpoint_name] JMSMessageConsumer_logConsumerException: Jms Exception while trying to receive a message - [destination = ibm.mq.dest.xxxxx (payload = 1)][[
com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ2002: Failed to get a message from destination 'queue_name'.
WebSphere MQ classes for JMS attempted to perform an MQGET; however WebSphere MQ reported an error.
Use the linked exception to determine the cause of this error.
at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:595)
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:215)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:266)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:156)
at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.getMsg(WMQConsumerShadow.java:1853)
at com.ibm.msg.client.wmq.internal.WMQSyncConsumerShadow.receiveInternal(WMQSyncConsumerShadow.java:231)
at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.receive(WMQConsumerShadow.java:1485)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.receive(WMQMessageConsumer.java:670)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl.receiveInboundMessage(JmsMessageConsumerImpl.java:1075)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl.receive(JmsMessageConsumerImpl.java:694)
at com.ibm.mq.jms.MQMessageConsumer.receive(MQMessageConsumer.java:209)
at com.csg.cs.obpm.jms.wrapper.MessageConsumerWrapper.receive(MessageConsumerWrapper.java:52)
at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.receiveMessage(JMSMessageConsumer.java:1234)
at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.consumeBlockingWithTimeout(JMSMessageConsumer.java:1191)
at oracle.tip.adapter.jms.inbound.JmsConsumer.runInbound(JmsConsumer.java:965)
at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:893)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:622)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN').
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:203)
... 23 more

]]
....
[2022-01-11T15:59:18.124+01:00] [soa_server_1] [ERROR] [] [oracle.soa.adapter.jms.inbound] [tid: DaemonWorkThread: '11' of WorkManager: 'default_Adapters'] [userId: <anonymous>] [ecid: ecid_no] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [composite_name: xxxxx] [composite_version: xxxxxxx] [endpoint_name: xxxxxx] JmsConsumer_runInbound: [destination = ibm.mq.dest.xxxxx, subscriber = null]: A resource exception occurred while waiting for inbound messages: JMSWMQ2002: Failed to get a message from destination 'queue_name'.[[
JMSWMQ2002: Failed to get a message from destination 'queue_name'.
at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.consumeBlockingWithTimeout(JMSMessageConsumer.java:1222)
at oracle.tip.adapter.jms.inbound.JmsConsumer.runInbound(JmsConsumer.java:965)
at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:893)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:622)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)
Caused by: com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ2002: Failed to get a message from destination 'queue_name'.
WebSphere MQ classes for JMS attempted to perform an MQGET; however WebSphere MQ reported an error.
Use the linked exception to determine the cause of this error.
at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:595)
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:215)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:266)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:156)
at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.getMsg(WMQConsumerShadow.java:1853)
at com.ibm.msg.client.wmq.internal.WMQSyncConsumerShadow.receiveInternal(WMQSyncConsumerShadow.java:231)
at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.receive(WMQConsumerShadow.java:1485)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.receive(WMQMessageConsumer.java:670)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl.receiveInboundMessage(JmsMessageConsumerImpl.java:1075)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl.receive(JmsMessageConsumerImpl.java:694)
at com.ibm.mq.jms.MQMessageConsumer.receive(MQMessageConsumer.java:209)
at com.csg.cs.obpm.jms.wrapper.MessageConsumerWrapper.receive(MessageConsumerWrapper.java:52)
at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.receiveMessage(JMSMessageConsumer.java:1234)
at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.consumeBlockingWithTimeout(JMSMessageConsumer.java:1191)
... 11 more
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN').
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:203)
... 23 more

]]


 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.