Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.oracle -> Re: Oracle to SQL Server using JDBC

Re: Oracle to SQL Server using JDBC

From: <swtwllm_at_alum.iup.edu>
Date: 2 Mar 2005 11:03:52 -0800
Message-ID: <1109790232.721221.100730@z14g2000cwz.googlegroups.com>


FOR ANYONE WITH THE SAME PROBLEM After 2 days, I've finally been able to solve the problem. As I've said in an earlier post, the error was happenening sometimes on load of the driver. It said it couldn't resolve many of the classes within the jar. This is the command I did to solve that

loadjava -user sys/password_at_system2 -resolve jtds-0.8.1.jar --I found this from metalink user

I then had to run the following PL SQL Commands:

BEGIN
dbms_java.grant_permission('userName', 'SYS:java.net.SocketPermission',
'ServerName', 'resolve');

END; BEGIN
dbms_java.grant_permission('userName', 'SYS:java.net.SocketPermission',
'000.000.000.000:1433', 'connect,resolve');
END; It now works beautifully!!! Received on Wed Mar 02 2005 - 13:03:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US