View Single Post

   
  #1 (permalink)  
Old 04-17-2008, 04:11 PM
Craig Ringer
 
Posts: n/a
Default Re: Problem establishing connection

Pinki wrote:

> Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs
> (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseExcep tion
> 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

Reply With Quote