XA Configured AQJMS Adapter Following Database Restart Gives Error: ORACLE.JMS.AQJMSEXCEPTION: JMS-122: INTERNAL ERROR and Stops Dequeuing (Doc ID 1060101.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 30-Nov-2011***


Symptoms

In a SOA 10.1.3.4 MLR 8 full XA as per XA-RAC documentation environment, a BPEL process incorporates an AQJMS Adapter.   When the database hosting the AQJMS is shutdown and then restarted, the AQJMS Adapter attempts to reconnect but is unsuccessful.  When this happens no more messages are dequeued and the error below appears in the following log file:

<Oracle Home>\opmn\logs\default_group~ <container name> ~default_group~1.log:

**Where <container name> is typically "home" or "oc4j_soa".

ORABPEL-12133
ERRJMS_JMS_EXCEP.
Unable to create JMS connection due to JMS exception.
Please examine the log file to determine the problem.

at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:274)
at oracle.tip.adapter.jms.JMS.JMSConnection.(JMSConnection.java:133)
...
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.jms.AQjmsException: JMS-122: Internal error
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:308)
at oracle.jms.AQjmsConnection.setConnectionID(AQjmsConnection.java:1036)
at
oracle.jms.AQjmsXAConnection.createXATopicSession(AQjmsXAConnection.java:278)
at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:238)
.. 23 more



Also the following exception appears in the default_group~oc4j_soa~default_group~1.log when the inbound JMS adapter attempts to reconnect. This error repeats infinitely:
 

2009-12-14 16:45:38,942>
JmsConsumer_run: Disabling Consumer
<2009-12-14 16:45:44,074>
JMSMessageConsumer_init: Retrying connection; attempt
#1
<2009-12-14 16:46:14,077>
JMSMessageConsumer_init: Retrying connection; attempt
#2
<2009-12-14 16:46:44,083>
JMSMessageConsumer_init: Retrying connection; attempt
#3
<2009-12-14 16:47:14,364>
JMSMessageConsumer_init: Retrying connection; attempt
#4
<2009-12-14 16:47:44,647>
JMSMessageConsumer_init: Retrying connection; attempt
#5
<2009-12-14 16:47:44,649>

ORABPEL-12133
ERRJMS_JMS_EXCEP.
Unable to create JMS connection due to JMS exception.
Please examine the log file to determine the problem.
...

Caused by: oracle.jms.AQjmsException: JMS-122: Internal error
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:308)
at oracle.jms.AQjmsConnection.setConnectionID(AQjmsConnection.java:1036)
at
oracle.jms.AQjmsXAConnection.createXATopicSession(AQjmsXAConnection.java:278)
at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:238)
... 23 more
.
<2009-12-14 16:48:15,029>
JMSMessageConsumer_init: Retrying connection; attempt
#6



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms