My Oracle Support Banner

SQLException After PL/SQL Package Changed (Doc ID 1662195.1)

Last updated on OCTOBER 12, 2022

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.


Customer observed SQLException in their application log after changes has been done on PL/SQL packages in Oracle database.

java.sql.SQLException: ORA-4068: existing state of packages has been discarded
ORA-4061: existing state of package "PACKAGENAME.PROCEDURENAME" has been invalidated
ORA-4065: not executed, altered or dropped package  "PACKAGENAME.PROCEDURENAME"
ORA-6508: PL/SQL: could not find program unit being called:  "PACKAGENAME.PROCEDURENAME"

They have to reset affected data source on Admin Console. Is this expected behavior? Is there any better solution for this?


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.