pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@libertyrms.info>
To: pgsql-sql@postgresql.org
Subject: How can I to solute this problem?
Date: Tue, 29 Jul 2003 08:11:18 -0400 (EDT)
Message-ID: <62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com> (raw)

"LEON" <ldai@accunettech.com> 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"))
<http://dev6.int.libertyrms.info/;
Christopher Browne
(416) 646 3304 x124 (land)





view thread (8+ messages)  latest in thread

Message-ID: <62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com>
Permalink:  ../62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com/
Also on:    postgresql.org/message-id/62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cbbrowne@libertyrms.info
  Subject: Re: How can I to solute this problem?
  In-Reply-To: <62347.64.229.210.126.1059480678.squirrel@look.libertyrms.com>

* 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