Re: [HACKERS] problems with Tomcat and postgres

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Jose Javier Gutierrez" <jgutierrez(at)kristina(dot)es>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Jessica Perry Hekman" <jphekman(at)dynamicdiagrams(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] problems with Tomcat and postgres
Date: 2002-03-14 16:05:08
Message-ID: m3adtbqgnf.fsf@varsoon.denali.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

"Jose Javier Gutierrez" <jgutierrez(at)kristina(dot)es> writes:

> com.kristinaIbs.persistence.ExceptionPersistence: ManagerPersistencePool
> (getConnection).Connection refused. Check that the hostname and port is
> correct, and that the postmaster is running with the -i flag, which enables
> TCP/IP networking.

Is the postmaster indeed listening on a TCP/IP port, (usually 5432) or
just on the Unix-domain socket? You have to specifically turn on
TCP/IP for security reasons--it's not enabled by default.

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew Kirkwood 2002-03-14 16:15:25 Re: Survey results on Oracle/M$NT4 to PG72/RH72 migration
Previous Message Andre Radke 2002-03-14 16:00:20 problem with array of boxes

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Hooker 2002-03-14 18:04:36 Re: Need to use JDK 1.4
Previous Message Kovács Péter 2002-03-14 13:58:59 Re: measure of JDBC performances