Re: help please - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: help please
Date
Msg-id Pine.BSO.4.64.0901042330590.24689@leary.csoft.net
Whole thread Raw
In response to help please  ("abhijeet dharurkar" <abhijeet.dharurkar@gmail.com>)
List pgsql-jdbc

On Sat, 3 Jan 2009, abhijeet dharurkar wrote:

> all setings are correct but while running the program from command line it
> gives the error.......
>
> Exception in thread "main" org.postgresql.util.PSQLException: Protocol
> error.  Session setup failed.
>        at
> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:381)
>        at
>

During the authentication step of the connection startup process we expect
only a couple of different message types.  Something about your setup is
giving a message type the driver is not prepared for.  Without knowing
what message it is, it's not clear how to help.  I've added additional
logging to the driver to print out the message type.  Please try this
driver and post the results.

http://ejurka.com/pgsql/jars/startlog/

Kris Jurka


pgsql-jdbc by date:

Previous
From: Guy Rouillier
Date:
Subject: Re: help please
Next
From: Miłosz Tylenda
Date:
Subject: Re: Support of getting generated keys in driver version 8.4devel