Issue:
Recently I had upgraded the oracle database from 11.1.0.7 to 11.2.0.4 and upgrade went fine and one of the application job failed with below error.
Recently I had upgraded the oracle database from 11.1.0.7 to 11.2.0.4 and upgrade went fine and one of the application job failed with below error.
ORA-29532: Java call terminated by uncaught Java exception:
java.security.AccessControlException: the Permission (java.lang.RuntimePermission
accessClassInPackage.sun.misc) has not been granted to O1MGR. The PL/SQL to
grant this is dbms_java.grant_permission( 'O1MGR',
'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.misc', '' )
Root cause:
This is the bug on the 11204 .
solution:
Changes
in the 11.2.0.4 DB required additional grants be enabled for the GLOGOWNER
user.
1. Log into the Database as SYSDBA
2. Run the following:
2. Run the following:
begin
dbms_java.grant_permission('GLOGOWNER'
, 'SYS:java.lang.RuntimePermission'
,'accessClassInPackage.sun.misc', '' ) ;
end;
/
dbms_java.grant_permission('GLOGOWNER'
, 'SYS:java.lang.RuntimePermission'
,'accessClassInPackage.sun.misc', '' ) ;
end;
/
Refer DOC:(Doc
ID 1945137.1)
No comments:
Post a Comment