ORA-04068: existing state of packages has been discarded [message #677209] |
Fri, 30 August 2019 10:29  |
 |
fixxxer
Messages: 42 Registered: August 2014
|
Member |
|
|
We use edition based redefinition.
We have a package that has absolutely no package variables, constants, cursors. It simply has 1 procedure within the package.
I've checked to see if the package has state, and it does not (Execute the package procedure from session 1, compile the package in session 2, run the package procedure again in session 1 - no problem).
Out application team are interacting with this package procedure via JDBC. They are intermittently getting "ORA-04068: existing state of packages has been discarded".
Honestly stuck on trying to diagnose the problem. Enabled DDL audit on, and there is nothing running at that time that would indicate the cause of this issue.
Just wanting to see if anyone has come across this before?
Let me know if you need any more details.
|
|
|
|
|
|
|
|
|
|