Home > Archive > SQL Server JDBC > August 2005 > using applet it is throwing exception









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author using applet it is throwing exception
raghu

2005-08-18, 8:23 pm

when i try to access database using applet
it is throwing following exception with oracle 9.2 driver

Database Exception:java.security. AccessControlExcepti
on: access denied
(java.util.PropertyPermission oracle.jserver.version read)


it is throwing following exception with oracle 9.0 driver
Database Exception:java.security. AccessControlExcepti
on: access denied
(java.net.SocketPermission 192.9.200.10:1521 connect,resolve)

please tell me what is the problem

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/JDBC-Driver...pict248465.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=860887
Frank Brouwer

2005-08-19, 9:23 am

You can not access databases from applets, because of the security
implementation of applets. To access database(s) from applets you need to
communicate to a serv(er)(lets) which communicates to the database.

Regards,

Frank.


"raghu" < UseLinkToEmail@dbFor
umz.com> wrote in message
news:4_860887_1be5da
961843e0eb93c7e09d3c
8b5dec@dbforumz.com...
> when i try to access database using applet
> it is throwing following exception with oracle 9.2 driver
>
> Database Exception:java.security. AccessControlExcepti
on: access denied
> (java.util.PropertyPermission oracle.jserver.version read)
>
>
> it is throwing following exception with oracle 9.0 driver
> Database Exception:java.security. AccessControlExcepti
on: access denied
> (java.net.SocketPermission 192.9.200.10:1521 connect,resolve)
>
> please tell me what is the problem
>
> --
> Posted using the http://www.dbforumz.com interface, at author's request
> Articles individually checked for conformance to usenet standards
> Topic URL:
> http://www.dbforumz.com/JDBC-Driver...pict248465.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.dbforumz.com/eform.php?p=860887



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com