X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 63EDA5668D for ; Tue, 1 Mar 2005 07:56:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50926-07 for ; Tue, 1 Mar 2005 07:56:57 +0000 (GMT) Received: from relay.imatech.net (relay.imatech.net [81.255.215.226]) by svr1.postgresql.org (Postfix) with ESMTP id D8D30566A7 for ; Tue, 1 Mar 2005 07:56:55 +0000 (GMT) Received: from pop.imatech.net (81.255.215.227) by relay.imatech.net with MERCUR Mailserver (v4.03.06 MTI0LTIzMDYtNjkyMw==) for ; Tue, 1 Mar 2005 08:56:36 +0100 Received: from imatech.net (81.255.215.226) by pop.imatech.net with MERCUR Mailserver (v4.03.13 ODUtMjQzNS00ODc3) for ; Tue, 1 Mar 2005 08:56:46 +0100 Received: from [200.200.200.185] ([195.6.193.141]) by imatech.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Mar 2005 08:56:23 +0100 Received: from 127.0.0.1 (AVG SMTP 7.0.300 [266.5.2]); Tue, 01 Mar 2005 08:56:49 +0100 Message-ID: <42242041.8030604@cerene.fr> Date: Tue, 01 Mar 2005 08:56:49 +0100 From: =?ISO-8859-1?Q?St=E9phane_RIFF?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en To: pgsql-jdbc@postgresql.org Subject: Connection pool problem Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-OriginalArrivalTime: 01 Mar 2005 07:56:23.0615 (UTC) FILETIME=[29AB44F0:01C51E34] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.121 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/2 X-Sequence-Number: 12395 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