Error On Rollback: ORA-25263: No Message In Queue (Doc ID 1380496.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

Multiple sessions are dequeueing messages from a queue simultaneously and it finds that the message is locked by session two and RETRY_COUNT is not incremented.
A trace file is then generated in the user_dump_destination for the instance with the following message:

Error on rollback: ORA-25263: no message in queue schema.qname with message ID ...

Changes

Build a little dequeue looping procedure, that dequeues and rolls back after dequeue.

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