报错现象:
the Permission ("java.net.SocketPermission" "192.168.10.64:40398" "connect,resolve") has not been granted to XXXXX.
The PL/SQL to grant this is dbms_java.grant_permission( 'XXXXX', 'SYS:java.net.SocketPermission', '192.168.10.64:40398', 'connect,resolve' )
碰到此问题的解决方案上面已经提示的很清除了,就是执行黑斜体的语句进行授权。
解决办法:
将javasyspri角色赋予XXX用户(grant javasyspriv to XXXXX;)。