Streams DML Handler Procedure Failing With ORA-04068, ORA-04065 and ORA-06508 When Using 'Public.Anydata' Synonym
Last updated on APRIL 23, 2010
Applies to:Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 18.104.22.168 - Release: 10.2 to 11.1
Information in this document applies to any platform.
Sometimes you see Apply process going into aborted state due the DML Handler procedure getting invalidated. When reviewing the reason apply aborted via dba_apply.error_message column or checking procedure errors at dba_errors view you see an error stack similar to this:
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "public.anydata"
ORA-06508: pl/sql: could not find program unit being called: "public.anydata"
ORA-06512: at "strmamdin.my_apply_dml_handler_proc", line 375
ORA-06512: at line 1
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms