Local Propagation intermittently fails with ORA-25312 on enqueue or an enqueued persistent message has a STATE of 8 (Doc ID 972647.1)

Last updated on MAY 21, 2014

Applies to:

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

Symptoms

The issue can manifest itself in a variety of symptoms:

ORA-23512 reported intermittently for local AQ propagation and message propagation is halted.

Alternatively an enqueued persistent message which has been propagated to a target queue has sender protocol set to 1 and a state of 8 which is DEFERRED. This state is not appropriate for a persistent message and a dequeue will fail with an ORA-25228.

There are 3 situations in which a non-zero sender protocol is set for a message for an implicitly captured message (Streams), buffered message propagation and queue-to-queue propagation.

The error can be reported in a setup where you have queue_to_queue propagation enqueueing a message into a queue for which you also have queue-to-dblink (old-style) propagation setup.

Cause

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