My Oracle Support Banner

Invalid XML Database (Doc ID 2395842.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

XMLDB component was installed using catqm.sql script but the component is in invalid state with invalid objects in the XDB schema.

SQL> select owner,object_name,object_type from dba_objects where status='INVALID' and owner in ('SYS','XDB');

OWNER OBJECT_NAME OBJECT_TYPE
------------------------------ -------------------------------------------------------------------------------------------------------------------------------- -------------------
SYS XS$CATVIEW_UTIL PACKAGE BODY
SYS DBMS_XS_PRINCIPAL_EVENTS_INT PACKAGE BODY
SYS DBMS_NETWORK_ACL_ADMIN PACKAGE BODY
XDB DBMS_RESCONFIG PACKAGE BODY

SQL> alter package XDB.DBMS_RESCONFIG compile body;

Warning: Package Body altered with compilation errors.

SQL> show errors;
Errors for PACKAGE BODY XDB.DBMS_RESCONFIG:

LINE/COL ERROR
-------- -----------------------------------------------------------------
67/8 PL/SQL: SQL Statement ignored
69/26 PL/SQL: ORA-00932: inconsistent datatypes: expected REF got CHAR
179/8 PL/SQL: SQL Statement ignored
181/26 PL/SQL: ORA-00932: inconsistent datatypes: expected REF got CHAR
 
SQL> alter package XDB.DBMS_RESCONFIG compile body;

Warning: Package Body altered with compilation errors.

SQL> show errors;
Errors for PACKAGE BODY XDB.DBMS_RESCONFIG:

LINE/COL ERROR
-------- -----------------------------------------------------------------
67/8 PL/SQL: SQL Statement ignored
69/26 PL/SQL: ORA-00932: inconsistent datatypes: expected REF got CHAR
179/8 PL/SQL: SQL Statement ignored
181/26 PL/SQL: ORA-00932: inconsistent datatypes: expected REF got CHAR

Changes

 

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!


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