Premature Transaction Timeout In Message-Driven Bean

(Doc ID 1325806.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


MDB bound to an Oracle AQ queue using the JMS API is deployed to SOA MLR2 with the "Transaction timeout" set to 180 seconds in "orion-ejb-jar.xml".
In some cases a transaction timeout occurs although the runtime of the MDB's onMessage() method is far less than the transaction timeout of 180 seconds.

For example:

MDB is entered at 00:00:05293.
At 00:00:05298 (5ms later) Toplink tries to register with the transaction and gets a RollbackException which says
that the transaction is timed out already.


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