My Oracle Support Banner

Identifier 'SYS.DBMS_AW_LIB' Must Be Declared (Doc ID 1533305.1)

Last updated on AUGUST 27, 2018

Applies to:

Oracle OLAP - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 After upgrading database or installing OLAP, you have 2 OLAPSYS objects. OLAP Catalog is also INVALID in DBA_REGISTRY:

 

SQL> select owner, object_name, object_type from dba_objects where status like 'INVALID' and owner like 'OLAP%';

OWNER                          OBJECT_NAME                              OBJECT_TYPE
------------------------------ ---------------------------------------- -------------------
OLAPSYS                        VERSION                                  FUNCTION
OLAPSYS                        CWM2_OLAP_MANAGER                        PACKAGE BODY

 

SQL> select rpad(comp_name,35), status, version from dba_registry where
  2      comp_name like '%OLAP%';

RPAD(COMP_NAME,35)                  STATUS      VERSION
----------------------------------- ----------- ------------------------------
OLAP Analytic Workspace             VALID       11.2.0.3.0
Oracle OLAP API                     VALID       11.2.0.3.0
OLAP Catalog                        INVALID       11.2.0.3.0

When you compile the objects manually, you get the following errors:

SQL> alter package olapsys.CWM2_OLAP_MANAGER compile body;

Warning: Package Body altered with compilation errors.

SQL> show errors
Errors for PACKAGE BODY OLAPSYS.CWM2_OLAP_MANAGER:

LINE/COL ERROR
-------- -----------------------------------------------------------------
157/3    PL/SQL: Item ignored
163/38   PLS-00201: identifier 'SYS.DBMS_AW_LIB' must be declared

 SQL> Alter function OLAPSYS.VERSION compile;

Warning: Function altered with compilation errors.

SQL> show errors
Errors for FUNCTION OLAPSYS.VERSION:

LINE/COL ERROR
-------- -----------------------------------------------------------------
5/3      PL/SQL: Statement ignored
5/10     PLS-00201: identifier 'SYS.DBMS_REGISTRY' must be declared

 

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.