Multiple executions of DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES in Streams setup script fails with ORA-24085 (Doc ID 2165863.1)

Last updated on NOVEMBER 16, 2016

Applies to:

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

Symptoms

A Streams replication setup script includes commands to create multiple propagations (9+) with the same source queue.  Execution of the script fails in some environments with the following errors on creation of the 6th or 7th propagation:

Failure in DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES: ORA-24085: operation failed, queue STRMADMIN.STREAMS_CAPTURE_Q is invalid
ORA-06512: at "SYS.DBMS_STREAMS_ADM_UTL", line 1484
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 920
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 867
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
Fri May 27 08:24:28 2016 -- ********* Streams Synchronization Failed *********

Changes

 This involves the setup of a new Streams replication configuration.

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