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 -> Re: Oracle JDBC Thin Applet + MS IE: SecurityException accessing jdbc.drivers system property

Re: Oracle JDBC Thin Applet + MS IE: SecurityException accessing jdbc.drivers system property

From: Carlo Emanuele Demontis <demontis_at_mv.itline.it>
Date: 1998/08/18
Message-ID: <35D94741.B2AC8B6C@mv.itline.it>#1/1

I had the same problem using IE and netscape. My collegues and I solved it this way:

in the declaring section write this line

 oracle.jdbc.driver.OracleDriver dr = new oracle.jdbc.driver.OracleDriver();

it will force the browser to load and instanciate the class oracle.jdbc.driver.OracleDriver

then DO NOT specify the driver's name in the db/connection constructor. if you specify it the browser will try to read and then rewrite the system's properties and you get the security violation. if you write that line and don't specify the driver as a string it wont raise the exception.

if you wand I can email you a sniplet of the code w are developing. we are using Borland's JBuilder

Carlo

vneupert_at_rand.de ha scritto:

> Hi I have the same problem. Signing the Applet solves the security problem
> but know I get the error "No suitable Driver" but the applet loaded the
> correct "oracle.jdbc.driver.OracleDriver".
>
> I am pleased with any help.
>
> Vera
>
Received on Tue Aug 18 1998 - 00:00:00 CDT

Original text of this message

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