« Return to Thread: Problem establishing connection

Re: Problem establishing connection

by Craig Ringer :: Rate this Message:

Reply to Author | View in Thread

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@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

 « Return to Thread: Problem establishing connection