loadjava gets ORA-1031 loading classes into SYS schema (Doc ID 1262998.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.2 - Release: 11.1 to 11.2
Information in this document applies to any platform.

Symptoms

Using loadjava to load classes into the SYS schema fails with:

creating : class com/sun/jmx/mbeanserver/MetaDataImpl
loading : class com/sun/jmx/mbeanserver/MetaDataImpl
Error while creating class com/sun/jmx/mbeanserver/MetaDataImpl
ORA-01031: insufficient privileges
ORA-06512: at line 1

This occurs on multiple class names.


Cause

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