pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Mount <peter@retep.org.uk>
To: sullivan@Mathcom.COM
To: pgsql-interfaces@postgresql.org
Subject: Re: JDBC gives pq_recvbuf: unexpected EOF on client connection
Date: Sat, 20 Jan 2001 14:49:07 +0000
Message-ID: <5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk> (raw)
In-Reply-To: <200101191435.f0JEZAY12885@localhost.localdomain>

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@mathcom.com
>
>    Mathcom Solutions, Inc.
>
>http://www.mathcom.com    303-494-7115
>========================================




view thread (2+ messages)

Message-ID: <5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk>
Permalink:  ../5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk/
Also on:    postgresql.org/message-id/5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: peter@retep.org.uk, sullivan@Mathcom.COM
  Subject: Re: JDBC gives pq_recvbuf: unexpected EOF on client connection
  In-Reply-To: <5.0.2.1.0.20010120144703.00a4db30@mail.retep.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox