RRF Batches Run in Parallel Fail and Get 'ORA-00001: Unique Constraint (PK_DIM_RUN) Violated' (Doc ID 2011181.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.5.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)

Symptoms

In Oracle Financial Services Analytical Applications (OFSAA) Infrastructure 7.3.5, when attempting to execute to Run Rule Framework (RRF) batches in parallel, the following error occurs in the PR2Service.log in the web server OFSAA log directory:

ERROR

[PR2LOG] Mar 17,15 02:00:37 : [LOGGER][] Query : INSERT INTO dim_run(N_RUN_SKEY, V_RUN_ID, FIC_MIS_DATE, D_RECORD_START_DATE, D_RECORD_END_DATE, F_LATEST_RECORD_INDICATOR, V_RUN_EXECUTION_ID, N_VERSION_NUMBER, V_UNIQUE_ID, V_EXECUTION_DESCRIPTION, V_VERSION_DESCRIPTION, V_RUN_STATUS, V_RUN_MAIN_ID, V_RUN_MAIN_DESC, V_RUN_DESC, N_RUN_TYPE_SKEY) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[PR2LOG] Mar 17,15 02:00:37 : [CREATEDIMRUNENTRY][ManageRunAdapter] Exception
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (<atomic>.PK_DIM_RUN) violated

The issue occurs when running the batches in parallel using the CTRL-M scheduler or another scheduler.

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