Connect Socket problem

From: Rodrigo F(dot) Baroni <rodrigobaroni(at)yahoo(dot)com(dot)br>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Connect Socket problem
Date: 2003-06-19 05:44:59
Message-ID: 20030619054459.67064.qmail@web11102.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello all,

Please, could someone help me ?!

I did a applet, using a jdbc driver to connect
with postgres 7.3.1 in a RedHat linux 8.0. When I run
it from my own machine to connect with the postgres in
my PC it works fine, but when I run the applet to
connect to a remote server postgres, the driver
returns the follow error (got at exception) :

" Something unusual has occured to cause the driver to
fail. Please report this exception: Exception:
java.security.AccessControlException: access denied
(java.net.SocketPermission XXX.XXX.XXX.XXX:5432
connect, resolve) "

And the Sack Trace follows:

"java.security.AccessControlContext.checkPermission(AccesscontrolContex.java:270)
.... "

Does anybody have any suggestion ?!!

Thanks a lot
Rodrigo F Baroni

_______________________________________________________________________
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam.
http://br.mail.yahoo.com/

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Thomas 2003-06-19 08:05:30 Re: Connect Socket problem
Previous Message Paul Thomas 2003-06-18 20:05:34 Re: forName finds Driver but getConnection doesn't (AGAIN)