Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 5C5089FC180 for ; Thu, 7 Jun 2007 19:49:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 10705-03 for ; Thu, 7 Jun 2007 19:49:10 -0300 (ADT) X-Greylist: delayed 00:27:11.196005 by SQLgrey-1.7.4 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by postgresql.org (Postfix) with ESMTP id F1A8D9FBFE9 for ; Thu, 7 Jun 2007 19:49:14 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 25so598333wry for ; Thu, 07 Jun 2007 15:49:13 -0700 (PDT) Received: by 10.100.207.16 with SMTP id e16mr1362302ang.1181254921287; Thu, 07 Jun 2007 15:22:01 -0700 (PDT) Received: from srinilaptop ( [70.20.198.26]) by mx.google.com with ESMTP id d34sm2349884and.2007.06.07.15.21.59 (version=SSLv3 cipher=RC4-MD5); Thu, 07 Jun 2007 15:21:59 -0700 (PDT) Reply-To: From: "Srinivas Kotapally" To: Subject: Intermittent Connection problems using JDBC Date: Thu, 7 Jun 2007 18:21:58 -0400 Organization: Coriendo LLC Message-ID: <028c01c7a952$43c19140$0401a8c0@srinilaptop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_028D_01C7A930.BCAFF140" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcepUkKsPv3v83FzT7q34gfymLue0w== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/38 X-Sequence-Number: 17100 This is a multi-part message in MIME format. ------=_NextPart_000_028D_01C7A930.BCAFF140 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_028D_01C7A930.BCAFF140 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi=20 All
 
I am = connecting to=20 my DB using a JDBC connection and sometimes I get this error.  = This is=20 not consistent and does not happen all the time.  I have tried to = use=20 various methods to troubleshoot this to no avail.  Can this occur = if the=20 connection to the database is delayed?  I have noticed some network = issues=20 off and on in our network.  What is the default connection timeout = in=20 pgsql-jdbc and would that result in causing this error in the log OR is = this an=20 error that is generated when the request reaches the DB host = machine? =20 Please advise... we getting tripped by this issue!
 
CDBConnectionPool.newConnection() : = SQLException=3D=20 org.postgresql.util.PSQLException: Connection refused. Check that the = hostname=20 and port are correct and that the postmaster is accepting TCP/IP=20 connections.
 
Regards

Srini
------=_NextPart_000_028D_01C7A930.BCAFF140--