Re: [HACKERS] problems with Tomcat and postgres - Mailing list pgsql-jdbc

From Doug McNaught
Subject Re: [HACKERS] problems with Tomcat and postgres
Date
Msg-id m3adtbqgnf.fsf@varsoon.denali.to
Whole thread Raw
In response to problems with Tomcat and postgres  ("Jose Javier Gutierrez" <jgutierrez@kristina.es>)
List pgsql-jdbc
"Jose Javier Gutierrez" <jgutierrez@kristina.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...

pgsql-jdbc by date:

Previous
From: "Marin Dimitrov"
Date:
Subject: Re: [GENERAL] DriverManager.getConnection() fails sometimes but succeeds other times
Next
From:
Date:
Subject: ...