I got ” ORA-29532: java call terminated by uncaught java exception: string ” error in Oracle database.
ORA-29532: java call terminated by uncaught java exception: string
Details of error are as follows.
ORA-29532: Java call terminated by uncaught Java exception: string Cause: A Java exception or error was signaled and could not be resolved by the Java code. Action: Modify Java code, if this behavior is not intended.
Java permission from 'ORDSYS' is missing and JAVA_ADMIN is missing from SYS 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
java call terminated by uncaught java exception: string
This ORA-29532 errors are related with the Java exception or error was signaled and could not be resolved by the Java code. No system privileges granted or incorrect system privileges granted.
To solve this error, Modify Java code, if this behavior is not intended.
Make sure to grant the right privileges to the user executing the Java Stored Procedures. In the documentation below you can find which privileges needs to be granted for what kind of action.
Or second case’s solution is as follows.
Grant JAVA_ADMIN to SYS then execute the grant_permission step
Grant JAVA_ADMIN to SYS; conn / as sysdba call dbms_java.grant_permission ('ORDSYS', 'SYS:java.util.logging.LoggingPermission','control',''); --Reload the Multimedia or reinstall multimedia connect / as sysdba drop user ORDDATA cascade; @?/ord/admin/ordisysc.sql sysaux sysaux -- recreate ORDDATA (ignore user name already exists errors) @?/ord/im/admin/imprv.sql -- grant privs to ORDDATA alter session set current_schema=ORDSYS; @?/ord/im/admin/ordcrtbl.plb -- recreate and load ORDDATA tables @?/ord/im/admin/imview.sql @?/ord/im/admin/impbs.sql @?/ord/im/admin/impvs.sql @?/ord/im/admin/imtyb.sql @?/ord/im/admin/implb.sql @?/ord/im/admin/imxrepos.sql connect / as sysdba set serveroutput on; execute validate_ordim; select version, status from dba_registry where comp_id='ORDIM';
Do you want to learn Oracle Database for Beginners, then read the following articles.
Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )