X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id E3367D1C4C1 for ; Tue, 29 Jul 2003 12:11:15 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 66443-08 for ; Tue, 29 Jul 2003 09:10:20 -0300 (ADT) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id DF563D1C7F3 for ; Tue, 29 Jul 2003 09:11:13 -0300 (ADT) Received: from acdc.int.libertyrms.com ([10.1.2.254] helo=libertyrms.info) by mail.libertyrms.com with smtp (Exim 3.22 #3 (Debian)) id 19hTK0-0006oi-00 for ; Tue, 29 Jul 2003 08:11:16 -0400 Received: from 64.229.210.126 (SquirrelMail authenticated user cbbrowne) by look.libertyrms.com with HTTP; Tue, 29 Jul 2003 08:11:18 -0400 (EDT) Message-ID: <62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com> Date: Tue, 29 Jul 2003 08:11:18 -0400 (EDT) Subject: How can I to solute this problem? From: "Christopher Browne" To: X-Priority: 3 Importance: Normal Reply-To: cbbrowne@libertyrms.info X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/426 X-Sequence-Number: 14540 "LEON" wrote: >My jsp doesn't implement connection pool.It directly connects postgresql by >jdbc. >After I run the Ui some times, the UI(jsp) would report "ieSorry,too many >clientslg" .The exception is SQLException. >I must restart tomcat or postgresql I can continue to running my UI. >May this problem be soluted? Restarting servers seems a pretty awful approach. You could put off the problem a little by increasing the number of connections PostgreSQL will permit, but that only puts off the problem. The RIGHT solution is to use a Java class implementing a connection pool manager. -- (reverse (concatenate 'string "ofni.smrytrebil@" "enworbbc")) Christopher Browne (416) 646 3304 x124 (land)