My Oracle Support Banner

Getting ORA-04089 Error When Trying to Register XML Schema as SYS (Doc ID 1359661.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


Connected to database as SYS / SYSDBA and running -

exec DBMS_XMLSCHEMA.registerschema('Performance.xsd', (XMLTYPE (bfilename('SCHEMADIR', 'Performance.xsd'), NLS_CHARSET_ID('AL32UTF8'))));

fails with:

ORA-04089: cannot create triggers on objects owned by SYS
ORA-06512: at "XDB.DBMS_XDBZ0", line 368
ORA-06512: at "XDB.DBMS_XDBZ", line 7
ORA-06512: at line 1
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 55
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 149
ORA-06512: at line 1


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.