Skip site navigation (1) Skip section navigation (2)

Re: JDBC gives pq_recvbuf: unexpected EOF on client connection

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: sullivan(at)Mathcom(dot)COM, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: JDBC gives pq_recvbuf: unexpected EOF on client connection
Date: 2001-01-20 14:49:07
Message-ID: 5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
At 07:35 19/01/01 -0700, Steve Sullivan wrote:

>Hi,
>I'm using JDBC and every time my client shuts down
>I get the log message:
>
>pq_recvbuf: unexpected EOF on client connection
>
>I'm careful to close the Connection, and I verify that
>it indeed did close by calling Connection.isClosed().
>
>Is there something I'm doing wrong here?
>I'm running postgresql-7.0.3 on RedHat 7.0 on a Pentium.
>
>Many thanks for any tips!


How is your client shutting down? Are you calling the Connections close() 
method?

It sounds like the client is closing before the driver has notified the 
server that it's ending.

Peter


>Steve
>
>========================================
>Steve Sullivan    sullivan(at)mathcom(dot)com
>
>    Mathcom Solutions, Inc.
>
>http://www.mathcom.com    303-494-7115
>========================================


In response to

pgsql-interfaces by date

Next:From: SLADEK PetrDate: 2001-01-21 09:21:41
Subject: [ODBC] Translation Latin 2 (8859-2) and Windows-1250
Previous:From: Kovacs Zoltan SandorDate: 2001-01-20 12:19:24
Subject: Re: pl/pgSQL & transaction

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group