pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Srinivas Kotapally <ksrinivas@coriendo.com>
To: pgsql-jdbc@postgresql.org
Subject: Intermittent Connection problems using JDBC
Date: Thu, 7 Jun 2007 18:21:58 -0400
Message-ID: <028c01c7a952$43c19140$0401a8c0@srinilaptop> (raw)

Hi All
 
I am connecting to my DB using a JDBC connection and sometimes I get this error.
This is not consistent and does not happen all the time.  I have tried to use
various methods to troubleshoot this to no avail.  Can this occur if the
connection to the database is delayed?  I have noticed some network issues off
and on in our network.  What is the default connection timeout in pgsql-jdbc and
would that result in causing this error in the log OR is this an error that is
generated when the request reaches the DB host machine?  Please advise... we
getting tripped by this issue!
 
CDBConnectionPool.newConnection() : SQLException=
org.postgresql.util.PSQLException: Connection refused. Check that the hostname
and port are correct and that the postmaster is accepting TCP/IP connections.

 
Regards

Srini

view thread (3+ messages)  latest in thread

Message-ID: <028c01c7a952$43c19140$0401a8c0@srinilaptop>
Permalink:  ../028c01c7a952$43c19140$0401a8c0@srinilaptop/
Also on:    postgresql.org/message-id/028c01c7a952$43c19140$0401a8c0@srinilaptop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ksrinivas@coriendo.com
  Subject: Re: Intermittent Connection problems using JDBC
  In-Reply-To: <028c01c7a952$43c19140$0401a8c0@srinilaptop>
  References: <028c01c7a952$43c19140$0401a8c0@srinilaptop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox