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

Last updated on OCTOBER 27, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 2.2 and later
Information in this document applies to any platform.
***Checked for relevance on 11-Nov-2010***
***Checked for relevance on 3-Oct-2013***


Symptoms

The installation of APEX on a 9.2.0.8 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 ar for APEX 2.2:

FLOWS_020202
...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
select nv('FLOW_SECURITY_GROUP_ID') s
*
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

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FOO
---------
INSTALLED
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

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