Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5RJbYa57986 for ; Wed, 27 Jun 2001 15:37:34 -0400 (EDT) (envelope-from Dave@micro-automation.net) Received: (qmail 5467 invoked from network); 27 Jun 2001 19:37:30 -0000 Received: from eboxwest.ebox.com (HELO INSPIRON) (206.51.23.194) by net2.micro-automation.com with SMTP; 27 Jun 2001 19:37:30 -0000 Reply-To: From: "Dave Cramer" To: "'Adam Haberlach'" , Subject: RE: Connection Pooling? Date: Wed, 27 Jun 2001 15:35:33 -0400 Organization: Micro Automation Inc. Message-ID: <00a601c0ff40$553a7c60$0201a8c0@INSPIRON> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <20010627114504.A2249@newsnipple.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200106/148 X-Sequence-Number: 895 Adam, No there isn't automatic pooling in jdbc. I would look over your jsp again. Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Adam Haberlach Sent: June 27, 2001 2:45 PM To: pgsql-jdbc@postgresql.org Subject: [JDBC] Connection Pooling? This may be a Postgres JDBC question, but it may also be an Apache Jakarta/Tomcat question... I recently moved a few of my pages over from PHP to .jsp and now I notice that I've got postgres backends sitting around, as though some of my connections are being pooled or persistant. As far as I can tell, my scripts are correctly closing the connections, so they shouldn't be sitting around--does anyone know if there is some automatic pooling/persistant connecting happening, either in the JDBC driver or in Tomcat? How would I turn this off or adjust it down? -- Adam Haberlach | "Pancakes don't make hardly any juice adam@newsnipple.com | and bacon makes too much." http://www.newsnipple.com | -- bug-eyed earl '88 EX500 '00 >^< | http://youlook.org ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster