Re: error ORA-1031 using loadjava

From: Marco de Haan <haandm_at_yahoo.com>
Date: Mon, 29 Oct 2001 11:16:54 +0100
Message-ID: <1004350363.526183_at_newsreader1.wirehub.nl>


[Quoted] Can you explain me how to verify that, because when I use the JAVA-tab on TOAD being connected as SYS I see all kinds of class-files but NOT the JdbcOdbcDriver.class!

Do you also know how to prevent the ORA-1031 to occur?

Thanx for the help so far!

"Sergey M" <msu_at_pronto.msk.ru> wrote in message news:9rj1pq$2bg6$1_at_serv2.vsi.ru...
>
> "Marco de Haan" <haandm_at_yahoo.com> сообщил/сообщила в новостях следующее:
> news:1004179307.226375_at_newsreader1.wirehub.nl...
> > Hi,
> > I made a 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/...classfilename...
> > 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 theory on the OdbcJdbcDriver.class correct?
> > - How can I prevent the error?
> >
>
> You don't need to load rt.jar, because rt.jar was loaded already.
>
> Sergey M.
>
>
Received on Mon Oct 29 2001 - 11:16:54 CET

Original text of this message