Re: problems with Tomcat and postgres

From: Auri Mason <amason(at)syntrex(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: problems with Tomcat and postgres
Date: 2002-03-14 08:20:01
Message-ID: Pine.LNX.4.44.0203140915100.30895-100000@mendeleev.syntrex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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!!!!!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2002-03-14 08:25:33 Re: PostgreSQL the right choice?
Previous Message Jean-Michel POURE 2002-03-14 08:18:57 Re: PostgreSQL the right choice?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Erwin Ambrosch 2002-03-14 09:08:13 JDBC-Question
Previous Message Jose Javier Gutierrez 2002-03-14 07:56:29 problems with Tomcat and postgres