User 8ef5099b33
29-07-2009 19:57:34
Hi,
I need a little help properly configuring our jchem cartridge.
I log into the database with SqlPlus.
I issue the following command to grant permissions to JCHEM:
SQL> call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'jchemserver.xxx.corp','resolve');
Call completed.
SQL> SELECT jchem_core_pkg.getenvironment() FROM dual;
SELECT jchem_core_pkg.getenvironment() FROM dual
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.Exception: Problem connecting to JChemServer:
rmi://jchemerver.xxx.corp:1099: the Permission (java.net.SocketPermission
jchemserver.xxx.corp resolve) has not been granted to JCHEM. The PL/SQL to
grant this is dbms_java.grant_permission( 'JCHEM',
'SYS:java.net.SocketPermission', 'jchemserver.xxx.corp', 'resolve' )
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 29
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 80
What additional steps do I need to do?
Could someone please help with this little issue?
Cheers,
Guy