Frequent error in Oracle ORA-04068: existing state of packages has been discarded
Posted
by martilyo
on Stack Overflow
See other posts from Stack Overflow
or by martilyo
Published on 2009-11-19T07:49:26Z
Indexed on
2010/04/15
8:13 UTC
Read the original article
Hit count: 297
Hi,
We're getting this error once a day on a script that runs every two hours, but at different times of the day.
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "PACKAGE.NAME" has been
invalidated
ORA-06508: PL/SQL: could not find program unit being called:
"PACKAGE.NAME"
ORA-06512: at line 1
Could someone list what conditions can cause this error so that we could investigate?
Thanks.
UPDATE:
Would executing 'ALTER SESSION CLOSE DATABASE LINK DBLINK'
invalidate a state of the package?
© Stack Overflow or respective owner