Re: Problem establishing connection - Mailing list pgsql-jdbc

From Craig Ringer
Subject Re: Problem establishing connection
Date
Msg-id 48055BD4.9070305@postnewspapers.com.au
Whole thread Raw
In response to Problem establishing connection  (Pinki <nicoribeiro@gmail.com>)
Responses Re: Problem establishing connection  (Pinki <nicoribeiro@gmail.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: invalid message format and I/O error while comunicating with backend
Next
From: "Sacauskis, Mike"
Date:
Subject: Locking