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 FEBRUARY 11, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.7 [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: 10.2.0.4 to 11.1.0.7


Symptoms

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.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References

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