Getting ORA-04089 Error When Trying to Register XML Schema as SYS

(Doc ID 1359661.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 10.2 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


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