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

Home -> Community -> Usenet -> c.d.o.misc -> Ora1031 using Javaload

Ora1031 using Javaload

From: sjaak <haandm_at_yahoo.com>
Date: Sun, 28 Oct 2001 22:15:15 +0100
Message-ID: <1004303434.461734@newsreader1.wirehub.nl>


Hi,
I made an Java-program which connects to MSAccess and copies the tables to Oracle. It works fine on my machine but when I load the class-file to Oracle using 'loadjava' and try to run it I get a nullpointerexception...I think it's because the JdbcOdbcDriver.class is not in the database so the connection to MSAccess does not get established.

I think I have to load the rt.jar (containing the driver) to the database but when I try that, I get this error-message for every claas-file in the jar:
"Error while creating class java/awt/image/WritableRaster

    ORA-01031: insufficient privileges"

I use loadjava like this "loadjava -u user/pwd -oracleresolver rt.jar" (tried it as scott, sys, system and even internal but always the same error)

Can you please help me:
- Is my thinking on the OdbcJdbcDriver.class correct?

Thanks!!! Received on Sun Oct 28 2001 - 15:15:15 CST

Original text of this message

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