Package DBMS_XDB invalid and XDB INVALID In DBA_REGISTRY After Having Revoked Privileges (Doc ID 1105245.1)

Last updated on AUGUST 13, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Checked as Top Hit 10-NOV-2011

Checked for relevance on 08-Oct-2014

Goal

Certain privileges have been revoked from some users for security reasons.  Afterwards, the status of Oracle XML Database (XDB) in DBA_REGISTRY is INVALID.  There  are some invalid XDB objects which fail to compile with the following errors, e.g. -

PLS-00201: identifier 'UTL_FILE' must be declared
PL/SQL: Item ignored
PLS-00320: the declaration of the type of this expression is incomplete or malformed

What privileges need to be granted to the XDB user to validate the status of Oracle XML Database?

Solution

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