Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle JDBC Thin Applet + MS IE: SecurityException accessing jdbc.drivers system property
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
![]() |
![]() |