My Oracle Support Banner

12.2 E-Business Suite Online Patching ADOP Phase=prepare or Fs_clone Fails With Error 'ORA-06502: PL/SQL: character string buffer too small' And 'afpdlrh failed due to ORA-04068: existing state of packages Has Been Discarded' (Doc ID 2353842.1)

Last updated on FEBRUARY 26, 2023

Applies to:

Oracle Applications DBA - Version 12.2.5 and later
Information in this document applies to any platform.


E-Business Suite 12.2 Applications DBA, Online Patching ADOP Utilities issues


When patching E-Business Suite ADOP prepare or fs_clone phase fails with the following errors:

"Error in DBMS lock request by handle. (ROUTINE=AFPGMG) REASON=ORACLE error 4068 in afpdlrh Cause: afpdlrh failed due to ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "APPS.FND_DCP" has been invalidated"

  and / or

"ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.AD_ZD_ADOP", line 2830
ORA-06512: at line 4 (DBD ERROR: OCIStmtExecute)
Error occurred performing database sanity checks"


The EBS configuration includes a very large number of DB nodes and MT application servers, resulting in a large number of missing patches being reported by ETCC.


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.