From ksrinivas@coriendo.com Thu Jun 7 22:49:25 2007 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-- From ksrinivas@coriendo.com Fri Jun 8 21:46:32 2007 Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 83B789FBEE1 for ; Fri, 8 Jun 2007 18:46:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 93984-02 for ; Fri, 8 Jun 2007 18:46:22 -0300 (ADT) X-Greylist: delayed 23:18:07.62485 by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by postgresql.org (Postfix) with ESMTP id 3BA129FC2F2 for ; Fri, 8 Jun 2007 18:46:26 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so592075ana for ; Fri, 08 Jun 2007 14:46:25 -0700 (PDT) Received: by 10.100.144.11 with SMTP id r11mr2044637and.1181339185134; Fri, 08 Jun 2007 14:46:25 -0700 (PDT) Received: from srinilaptop ( [70.20.198.26]) by mx.google.com with ESMTP id c14sm4766068ana.2007.06.08.14.46.23 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jun 2007 14:46:24 -0700 (PDT) Reply-To: From: "Srinivas Kotapally" To: "'Andrew Lazarus'" Cc: References: <028c01c7a952$43c19140$0401a8c0@srinilaptop> <1666453432.20070608145023@attglobal.net> Subject: Re: Intermittent Connection problems using JDBC Date: Fri, 8 Jun 2007 17:46:21 -0400 Organization: Coriendo LLC Message-ID: <037101c7aa16$749a4c20$0401a8c0@srinilaptop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0372_01C7A9F4.ED88AC20" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AceqE6Cq3xKTLeF8Q7GGau15okPXowAAr0uQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <1666453432.20070608145023@attglobal.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/39 X-Sequence-Number: 17101 This is a multi-part message in MIME format. ------=_NextPart_000_0372_01C7A9F4.ED88AC20 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit No, the error in that case is different. It is "Too many connections..." _____ From: Andrew Lazarus [mailto:drlaz@attglobal.net] Sent: Friday, June 08, 2007 5:50 PM To: Srinivas Kotapally Cc: pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Intermittent Connection problems using JDBC Hello Srinivas, Is it possible that the pool is exceeding max_connections as specified on the server postgresql.conf file? Thursday, June 7, 2007, 3:21:58 PM, you wrote: > 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 -- Best regards, Andrew mailto:drlaz@attglobal.net ------=_NextPart_000_0372_01C7A9F4.ED88AC20 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
No, the = error in that=20 case is different.  It is "Too many = connections..."


From: Andrew Lazarus=20 [mailto:drlaz@attglobal.net]
Sent: Friday, June 08, 2007 5:50 = PM
To: Srinivas Kotapally
Cc:=20 pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Intermittent = Connection=20 problems using JDBC

Hello Srinivas,


Is it possible that the pool is exceeding max_connections as = specified on the=20 server postgresql.conf file?


Thursday, June 7, 2007, 3:21:58 PM, you wrote:


>

Hi All

 

I am connecting to my DB using a JDBC = connection and=20 sometimes I get this error.  This is not consistent and does = not=20 happen all the time.  I have tried to use various methods to=20 troubleshoot this to no avail.  Can this occur if the = connection to=20 the database is delayed?  I have noticed some network issues = off and=20 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=20 this an error that is generated when the request reaches the DB = host=20 machine?  Please advise... we getting tripped by this=20 issue!

 

CDBConnectionPool.newConnection() : = SQLException=3D=20 org.postgresql.util.PSQLException: Connection refused. Check that = the=20 hostname and port are correct and that the postmaster is accepting = TCP/IP=20 connections.

 

Regards


Srini





-- 

Best regards,

 Andrew           =  =20                mailto:drlaz@attglobal.net

------=_NextPart_000_0372_01C7A9F4.ED88AC20-- From drlaz@attglobal.net Fri Jun 8 22:16:59 2007 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1D6E29FC28C for ; Fri, 8 Jun 2007 19:16:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 43497-03 for ; Fri, 8 Jun 2007 19:16:55 -0300 (ADT) X-Greylist: delayed 00:50:44.320748 by SQLgrey-1.7.4 Received: from pillette.com (adsl-67-119-5-202.dsl.snfc21.pacbell.net [67.119.5.202]) by postgresql.org (Postfix) with ESMTP id B85839FC090 for ; Fri, 8 Jun 2007 19:16:54 -0300 (ADT) Received: from dhcp203.pillette.com (dhcp203.pillette.com [192.168.1.203]) by pillette.com (8.11.6/8.11.6) with ESMTP id l58LQ0W03311; Fri, 8 Jun 2007 14:26:02 -0700 Date: Fri, 8 Jun 2007 14:50:23 -0700 From: Andrew Lazarus X-Mailer: The Bat! (v3.99.3) Home X-Priority: 3 (Normal) Message-ID: <1666453432.20070608145023@attglobal.net> To: "Srinivas Kotapally" CC: pgsql-jdbc@postgresql.org Subject: Re: Intermittent Connection problems using JDBC In-Reply-To: <028c01c7a952$43c19140$0401a8c0@srinilaptop> References: <028c01c7a952$43c19140$0401a8c0@srinilaptop> MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.352 tagged_above=0 required=5 tests=BAYES_50=0.001, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, HTML_TITLE_EMPTY=0.214, MIME_HTML_ONLY=0.001 X-Spam-Level: X-Archive-Number: 200706/40 X-Sequence-Number: 17102

Hello Srinivas,


Is it possible that the pool is exceeding max_connections as specified o= n the server postgresql.conf file?


Thursday, June 7, 2007, 3:21:58 PM, you wrote:


>

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 happ= en 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 networ= k.  What is the default connection timeout in pgsql-jdbc and would tha= t result in causing this error in the log OR is this an error that is gener= ated when the request reaches the DB host machine?  Please advise... w= e getting tripped by this issue!

 

CDBConnectionPool.newConnection() : SQLException=3D = org.postgresql.util.PSQLException: Connection refused. Check that the hostn= ame and port are correct and that the postmaster is accepting TCP/IP connec= tions.

 

Regards


Srini





-- 

Best regards,

 Andrew           &nbs= p;                mailto:drlaz@attglobal.net