Explanation Of "ORA-04068: Existing State Of Packages Has Been Discarded" And "ORA-06508 PL/SQL: Could Not Find Program Unit Being Called" Errors
(Doc ID 418270.1)
Last updated on OCTOBER 24, 2019
Applies to:PL/SQL - Version 22.214.171.124 and later
Information in this document applies to any platform.
***Checked for relevance on 28th Nov 2018***
This bulletin should help explain the reasoning for an "ORA-04068: existing state of packages has been discarded" to appear along with scenarios of when it does and does NOT appear.
Using any two schemas (with privileges to execute a procedure in another schema) the following scenarios can be run to better understand when this error may appear.
When stepping through the different scenarios it is very important to pay close attention to which user is executing what code.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document