My Oracle Support Banner

Installation of APEX Fails When PL/SQL Web Toolkit not Available in DB (Doc ID 555856.1)

Last updated on FEBRUARY 09, 2023

Applies to:

Oracle Application Express (APEX) - Version 2.2 to 4.1 [Release APEX 2.2 to 4]
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


The installation of APEX on a DB fails when the PL/SQL Web Toolkit was not installed in the database.

Errors similar to the following may appear in the installation log. The errors listed below are for APEX 2.2:

...create flow views
...wwv_flow_users view
where security_group_id = (select nv('FLOW_SECURITY_GROUP_ID') s from dual)
ERROR at line 2:
ORA-06575: Package or function NV is in an invalid state

...wwv_flow_group_users view
ERROR at line 9:
ORA-06575: Package or function NV is in an invalid state


ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "FLOWS_020200.WWV_FLOW_UTILITIES" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2


I. O R A C L E S Y S I N S T A L L P R O C E S S
...create flows user
alter user x default tablespace x
ERROR at line 1:
ORA-00959: tablespace 'X' does not exist


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.