ORA-65047 Installing/Upgrading to APEX 5.0 Only On PDB On 12c Multitenant DB (Doc ID 2088100.1)

Last updated on SEPTEMBER 11, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 5.0 and later
Information in this document applies to any platform.
The error is seen on any Multitenant 12c database but the solution has special requirement if applied to ODA (Oracle Database Appliance)

Symptoms

When attempting to install or upgrade to apex 5.0.X on a 12c Database the follow error is seen in the installation log while Performing Application Express component validation

ERROR
-----------------------
...
declare
*
ERROR at line 1:
ORA-65047: object SYS.VALIDATE_APEX is invalid or compiled with errors in
CDB$ROOT


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Remove apex from the CDB
2. Create a new PDB (from seed)
3. Remove the apex schemas that may be seen in the PDB
4. Install apex 5.0.2 on the PDB only
5. Review the installation log

 

OTHER SYMPTOMS

ORA-07445: exception encountered: core dump [lnxsni()+114] [SIGSEGV] [ADDR:0x0] [PC:0xCD0F102] [Address not mapped to object] []  Is seen in the alert.log

PDB_PLUG_IN_VIOLATIONS Showing 'APEX mismatch' between a PDB and the CDB

Changes

 Migrating from a standard DB to a Multitenant one and wants apex only on PDB side

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