RE: Postgresql 7.0 JDBC exceptions - broken connecti ons ?

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Gunnar R|nning'" <gunnar(at)candleweb(dot)no>, pgsql-interfaces(at)postgresql(dot)org
Cc: "PostgreSQL Developers List (E-mail)" <hackers(at)postgresql(dot)org>
Subject: RE: Postgresql 7.0 JDBC exceptions - broken connecti ons ?
Date: 2000-05-26 08:08:28
Message-ID: 1B3D5E532D18D311861A00600865478CF1AE65@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

As usual when replying from here, replies prefixed with PM:

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Gunnar R|nning [mailto:gunnar(at)candleweb(dot)no]
Sent: Thursday, May 25, 2000 12:38 PM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] Postgresql 7.0 JDBC exceptions - broken
connections ?

Hello,

As I told you in an former mail I'm trying to migrate an application to
use
PostgreSQL 7.0. The application now seems to be working pretty well and
I
have 5 users that have been testing our web application with the
PostgreSQL
database for the past 24 hours.

The application runs with a connection pool, but after some time some of
these connections seems to be broken. Ie. only some of the queries work
- I
will change the connection pool code to handle this, but I would like to
know if anybody know why the connections gets into an unusable state.
Could
it be back crashes or similar things ? I'm turning on debugging for the
database server to see if can find anything there, but anyway here is
the
exception I get :

PM: How long is it before the problem starts? I'm wondering if the
problem is because the backend is sitting there for a long period.

select distinct entity.*,location.loc_id,location.loc_name
from entity,locationmap,location,entityindex2 as e0
where locationmap.ent_id=entity.ent_id and
locationmap.loc_id=location.loc_id and e0.ei_word='kjøttbørsen' and
e0.ent_id=entity.ent_id and ENT_STATUS=4
order by ent_title,location.loc_name,location.loc_id
Unknown Response Type u

PM: Does anyone [on Hackers] know what the u code is for? The fact it's
in lower case tells me that the protocol/connection got broken somehow.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias Urlichs 2000-05-26 08:16:31 Re: Berkeley DB...
Previous Message Mikheev, Vadim 2000-05-26 07:00:26 RE: smgrwrite() without LockBuffer(was RE: Shouldn't fl ush dirty buffers at shutdown ?)

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dave Page 2000-05-26 08:32:12 RE: importing from other dbases
Previous Message Peter Mount 2000-05-26 06:29:47 RE: JDBC for 7.0 - Tuple received before MetaData ex ception