My Oracle Support Banner

OC4J / BPEL / JMS / java.sql.SQLException: ORA-02049: timeout: distributed transaction waiting for lock (Doc ID 787194.1)

Last updated on AUGUST 04, 2018

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.,$_jms_enqueue_text_message()$_add_subscriber()


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.


To view full details, 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 a vibrant support community of peers and Oracle experts.