OC4J / BPEL / JMS / java.sql.SQLException: ORA-02049: timeout: distributed transaction waiting for lock

(Doc ID 787194.1)

Last updated on MAY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


SOA - ;  ESB / BPEL - ; JMS

Application related BPEL activity is encountering errors :

ORA-02049: timeout: distributed transaction waiting for lock

These errors are reported on various AQ operations, e.g.,




Note : there are actually 2 parts to the solution of this issue : one is a code change which affects the Oracle server as detailed in this note ; the other is a parameter configuration change which is appropriate to the middle tier OC4J container. Please ensure that this change is also taken into consideration.


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