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'
Last updated on JUNE 06, 2018
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.
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