RM Process Fails with 'ORA-04068: Existing State of Packages Has Been Discarded' on OFSA_DBA (Doc ID 1496948.1)

Last updated on JULY 31, 2017

Applies to:

Oracle Risk Manager - Version 4.5.39 to 4.5.41
Information in this document applies to any platform.
Oracle Financial Services Applications (OFSA)
Note: All OFSA 4.5 products have reached sustaining support.

Symptoms

In Oracle Risk Manager (RM) 4.5.39, when you run an RM process, the process fails and the following errors exist in the ofsrm.xxxxx file when executing the OFSA_DBA and OFSA_SQL packages:

Running RM, Process ID: 106303 Configuration ID: 106299
Error(Oracle Financial Services Application error) (203105) Oracle drv_oci error:

OCI Function: [12] - ofetch(), ofen()
SQL Function: [4] - SELECT
Oracle Error: ORA-04068: existing state of packages has been discarded
ORA-04063: package body "<dbowner>.OFSA_DBA" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "<dbowner>.OFSA_SQL", line 681

Driver Function: drv_oci::FetchNext()

SQL Statement: select ofsa_sql.table_exists('RES_DTL_106303') from dual
Error(Oracle Financial Services Application error) (203105) Oracle drv_oci error:


The errors prevent the RM process from outputting any data to the result detail table.

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