My Oracle Support Banner

Database Upgrade or Post Patching or datapatch , Fails with Errors “ORA-02290: check constraint (SYS.JAVA_DEV_DISABLED) violated” & “ORA-04045: SYS.DBMS_ISCHED” (Doc ID 1985725.1)

Last updated on NOVEMBER 21, 2023

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

Symptoms

Symptom 1:

Database Upgrade or Post Patching (DB /OJVM PSU) fails with errors:

 

ORA-04045: errors during recompilation/revalidation of SYS.DBMS_ISCHED
ORA-02290: check constraint (SYS.JAVA_DEV_DISABLED) violated
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_ISCHED"
ORA-06512: at line 12

 

Symptom 2: For 12c & above, datpatch fails with error:

Patch 35320081 apply (pdb PDB$SEED): WITH ERRORS
logfile: $ORACLE_BASE/cfgtoollogs/sqlpatch/35320081/25314491/35320081_apply_DB_PDBSEED_<timestap>.log (errors)
-> Error at line 10910: script md/admin/prvtgri.plb
- ORA-00604: error occurred at recursive SQL level 1
- ORA-02290: check constraint (SYS.JAVA_DEV_DISABLED) violated
ru_logfile: $ORACLE_BASE/cfgtoollogs/sqlpatch/35320081/25314491/35320081_ru_apply_DB_PDBSEED_<timestap>.log (no errors)

 

 

Cause

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
Symptoms
Cause
Solution
References


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