From: Stéphane RIFF <stephane.riff@cerene.fr>
To: pgsql-jdbc@postgresql.org
Subject: Connection pool problem
Date: Tue, 01 Mar 2005 08:56:49 +0100
Message-ID: <42242041.8030604@cerene.fr> (raw)
Hello,
I've create a connection pool with dbcp end another with
Jdbc3PoolingDatasource,
it seems to work well but :
My pool is a eight connections pool, the problem is when i get some
database exception (for example
"constraint violation", "duplicate key on unique index"...) the
connection didn't released to the pool.
After eight exception my application wait for a connection from the pool
which nerver give one because
of the PSQLException thrown.
Does somebody know about this??
Hope it's understandable
Thanks
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.2 - Release Date: 28/02/2005
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: stephane.riff@cerene.fr
Subject: Re: Connection pool problem
In-Reply-To: <42242041.8030604@cerene.fr>
References: <42242041.8030604@cerene.fr>
* 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