problems with Tomcat and postgres

From: "Jose Javier Gutierrez" <jgutierrez(at)kristina(dot)es>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Jessica Perry Hekman" <jphekman(at)dynamicdiagrams(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: problems with Tomcat and postgres
Date: 2002-03-14 07:56:29
Message-ID: NGBBLLEGJMFBLPIAONOLOEACCBAA.jgutierrez@kristina.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

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!!!!!

-----Mensaje original-----
De: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org]En nombre de Bruce Momjian
Enviado el: miercoles 13 de marzo de 2002 21:23
Para: Jessica Perry Hekman
CC: pgsql-jdbc(at)postgresql(dot)org; PostgreSQL-development
Asunto: Re: [JDBC] implementing query timeout

Jessica Perry Hekman wrote:
> As has been noted on this list before, query timeouts are not implemented
> in pgsql-jdbc (see
>
> http://archives.postgresql.org/pgsql-bugs/2000-12/msg00093.php
>
> ). This is currently causing a problem for me, and I might (no
> promises) be interested in implementing it. So I'm testing the waters. If
> I did submit a patch for this, would the developers here be interested?

Let me also add that Cancel now works in the CVS copy of the jdbc
driver.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2002-03-14 08:18:57 Re: PostgreSQL the right choice?
Previous Message Ashley Cambrell 2002-03-14 05:16:19 Pre-preparing / parsing SQL statements

Browse pgsql-jdbc by date

  From Date Subject
Next Message Auri Mason 2002-03-14 08:20:01 Re: problems with Tomcat and postgres
Previous Message Dave Cramer 2002-03-14 03:59:33 Re: maximum java process postgres connections