MQ Adapter Rejects Messages when Inactive Longer than JTA Timeout (Doc ID 957803.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.4 and later
Information in this document applies to any platform.

Symptoms

On SOA 10.1.3.4 MLR8 using MQAdapter with XA Transaction mode, if dequeues happen after Timeout setting from the OC4J container has been reached (transaction-manager.xml), this fails and the following error occurs:


<2009-10-12 09:19:04,358> <DEBUG> <default.collaxa.cube.activation>
<AdapterFramework::Inbound> Delivery Thread 'JCA-work-instance:MQSeries Adapter-0 performing
unsynchronized post() to localhost
<2009-10-12 09:19:04,383> <ERROR> <default.collaxa.cube.engine.data>
<BaseDeliveryPersistenceAdaptor::storeInvoke>
java.sql.SQLException: javax.resource.ResourceException: RollbackException: Transaction has been
marked for rollback: Timed out
at oracle.oc4j.sql.spi.ManagedConnectionImpl.setupTransaction(ManagedConnectionImpl.java:841)
at oracle.oc4j.sql.spi.ConnectionHandle.oc4j_intercept(ConnectionHandle.java:305)
at oracle_jdbc_driver_LogicalConnection_Proxy.prepareStatement()
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.storeInvoke(BaseDeliveryPersi
stenceAdaptor.java:1909)
at
com.collaxa.cube.engine.data.DeliveryPersistenceMgr.storeInvoke(DeliveryPersistenceMgr.java:467)
at com.collaxa.cube.engine.delivery.DeliveryService.receiveInvoke(DeliveryService.java:463)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.receiveInvoke(CubeDeliveryBean.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

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