Re: Problem with postgresql tomcat datasource

From: <d(dot)kho(at)chello(dot)nl>
To: <Andrea(dot)Ferrando(at)marconimobile(dot)com>
Subject: Re: Problem with postgresql tomcat datasource
Date: 2002-11-21 22:36:46
Message-ID: 20021121223646.OKQJ9762.amsfep11-int.chello.nl@[127.0.0.1]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

- Your pg-db needs to be accepting database connections, set tcpip to yes in your postgres.conf.
- Check that your pg_hba.conf is set correctly.
- Check that your any packetfilter or iptables is functioning correctly.
- Set <MaxIdle> to a relatively high level compare to <MaxActive>, <MaxActive is the actual number of tcp/ip connections openend to your pg-database. <MaxIdle> is the number of open database connections your web applications can handle.
- Never call connection.close(). The DataSource implementation should be handling that.
- Be sure to have defined the <resource> in the right place.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vinni 2002-11-22 02:02:47 Problem
Previous Message d.kho 2002-11-21 22:21:59 Re: Query Executor Problem