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

From Auri Mason
Subject Re: problems with Tomcat and postgres
Date
Msg-id Pine.LNX.4.44.0203140915100.30895-100000@mendeleev.syntrex.com
Whole thread Raw
In response to problems with Tomcat and postgres  ("Jose Javier Gutierrez" <jgutierrez@kristina.es>)
List pgsql-jdbc
Hi friend ;P

The first problem that I can see is a clear "Connection refused".
Befor investigate if the cause is Tomcat or something else, correct this
error! Be sure that the postmaster is running with the -i

p.s. usually my run.sh is like:
"./postmaster -i -D /home/me/postgresql/data > logfile 2>&1 &"

Ciao, Auri

On Thu, 14 Mar 2002, Jose Javier Gutierrez wrote:

> Hi friends,
>     I have problems with postgres.jar and tomcat. I have de follow exception :
>
> - Excepcion de persistencia:
> 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.
>         at
> com.kristinaIbs.persistence.ManagerPersistencePool.getConnection(ManagerPers
> istencePool.java:112)
>         at
> com.kristinaIbs.user.UserManager.getUserByLogin(UserManager.java:314)
>
> I have the follows parameters :
>      driver      = org.postgresql.Driver
>     url      = jdbc:postgresql://192.168.0.7:5432/easysite
>     user      = postgres
>     password =
>
> Do you can Help please!!!!!


pgsql-jdbc by date:

Previous
From: "Jose Javier Gutierrez"
Date:
Subject: problems with Tomcat and postgres
Next
From: Graham Leggett
Date:
Subject: character sets and results