« Return to Thread: Problem establishing connection

Re: Problem establishing connection

by Pinki :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Problem establishing connection