My Oracle Support Banner

ORA-02041 on Enqueue of a Buffered Message after successful dequeue on a Non-Owner Instance (Doc ID 789554.1)

Last updated on JUNE 05, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.1]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: to


ORA-02041 reported on enqueue of a buffered message on a non-owner instance immediately after a successful dequeue has been performed in the same session on the same non-owner instance. The error is reported as follows:

ERROR at line 1:
ORA-02041: client database did not begin a transaction
ORA-02063: preceding line from <remote database>
ORA-06512: at "SYS.DBMS_AQ", line 6
ORA-06512: at "SYS.DBMS_AQ", line 216

Enqueue and dequeue of a buffered message on the queue table owning instance instance is successful.

Note that the owning instance is defined by the value of OWNER_INSTANCE in the *_queue_tables views.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.