Call Dbms_java.grant_permission Raised ORA-29532: Java Call Terminated By Uncaught Java Exception - Multimedia Reload / Reinstall (Doc ID 2163700.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Multimedia - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

When reloading Oracle Multimedia, the following errors are raised


Multimedia Reload
===============
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.security.AccessControlException: the Permission
(java.util.logging.LoggingPermission control) has not been granted to ORDSYS.
The PL/SQL to grant this is dbms_java.grant_permission( 'ORDSYS',
'SYS:java.util.logging.LoggingPermission', 'control', '' )
ORA-06512: at "ORDSYS.ORD_DICOM_ADMIN_PRV", line 7353
ORA-06512: at "ORDSYS.ORD_DICOM_ADMIN", line 276
ORA-06512: at line 1

declare
*
ERROR at line 1:
ORA-53051: no editDataModel session found
ORA-06512: at "ORDSYS.ORD_DICOM_ADMIN_PRV", line 6653
ORA-06512: at "ORDSYS.ORD_DICOM_ADMIN", line 125
ORA-06512: at line 22076

Granting a java permission raises another error:

SQL> call dbms_java.grant_permission ('ORDSYS', 'SYS:java.util.logging.LoggingPermission','control','');
call dbms_java.grant_permission ('ORDSYS', 'SYS:java.util.logging.LoggingPermission','control','')
  *
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update
SYS:java.util.logging.LoggingPermission, control

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