Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: problem in connecting to databases in oracle
suneel.n..._at_gmail.com wrote:
> Why do I get java.security.AccessControlException when using Java
> Sockets in oracle to connect with other sockets
You need to grant permission to the user to be able to connect to the socket.
Logon to sqlplus as sys and,
dbms_java.grant_permission('username', 'java.net.SocketPermission',
'host:port', 'resolve,connect');
commit;
Regards
/Rauf
Received on Thu Apr 20 2006 - 10:22:44 CDT