Re: Problem establishing connection

From: Pinki <nicoribeiro(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem establishing connection
Date: 2008-04-18 12:50:35
Message-ID: 16763404.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Thanks Craig for the tips, the proxy is working, also configured in netbeans.
The psql is working too, but i'm getting the same message every time. I
managed to develop another aplication in which i use hibernate and
webservices and all seams to be working quite good, but in the other hand i
can't put toghether a simple desktop aplication... is quite depressing...

Any comments are accepted..

Tks in advance

Nicolas Ribeiro

Craig Ringer wrote:
>
> Pinki wrote:
>
>> Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs
>> (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
>> Internal Exception: org.postgresql.util.PSQLException: El intento de
>> conexión falló.
>
> OK, so "The connection attempt failed" exception was thrown by ...
>
>> Caused by: java.net.SocketException: Malformed reply from SOCKS server
> ....
>> at org.postgresql.core.PGStream.<init>(PGStream.java:62)
>
> the Java networking stack because of communication problems with a SOCKS
> proxy server.
>
> Maybe your environment is different, so you're not using the proxy in
> netbeans and the proxy is broken?
>
> Does `psql' work?
>
> --
> Craig Ringer
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

--
View this message in context: http://www.nabble.com/Problem-establishing-connection-tp16701015p16763404.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sacauskis, Mike 2008-04-19 00:09:14 Locking
Previous Message Craig Ringer 2008-04-16 01:52:20 Re: Problem establishing connection