BPEL Database Adapter Fails With ORA-04068 (Doc ID 364007.1)

Last updated on FEBRUARY 15, 2012

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.2.0.0 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.
***Checked for relevance on 26-Sep-2011***

Symptoms

When executing a BPEL process which calls a PL/SQL procedure via a database adapter the adapter sporadically gets the error

ORA-04068 "existing state of packages%s%s%s has been discarded"

The error message does not list the name of the affected package.

After redeploying the BPEL process, the error doesn't occur any more. Executing the PL/SQL procedure manually works fine too. When checking the procedure in the database, one can see that the PL/SQL package hasn't been updated or modified within the time frame the error occurs.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms