Re: Problem establishing connection

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Pinki <nicoribeiro(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem establishing connection
Date: 2008-04-16 01:52:20
Message-ID: 48055BD4.9070305@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Pinki 2008-04-18 12:50:35 Re: Problem establishing connection
Previous Message Kris Jurka 2008-04-15 16:58:17 Re: invalid message format and I/O error while comunicating with backend