ORA-29532: java call terminated by uncaught java exception: string

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 )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *