AQ Adapter Fails to Dequeue Messages: java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed (Doc ID 1449004.1)

Last updated on AUGUST 28, 2017

Applies to:

Oracle SOA Suite - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

The inbound AQ Adapter can not dequeue messages from the database Aq Queue.

The following exception is generated in the soa diagnostic logs when a message is sent to the AQ Queue:

[2012-03-29T05:19:52.339-04:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: hostname] [nwaddr: 192.168.0.140] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@336a60de] [userId: weblogic] [ecid: 16d59568a10954ee:-59c6efed:1365db032fb:-8000-0000000000002759,1:18994] [APP: soa-infra] AQ Adapter ADT [[
java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'aqSample_base_domain': XAER_RMFAIL : Resource manager is unavailable
javax.transaction.xa.XAException: Internal error: XAResource 'aqSample_base_domain' is unavailable

at weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceDescriptor.java:948)
at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:634)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1230)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:285)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:522)
...
]]

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