From: Michael Bell <mikebell90@yahoo.com>
To: Donald Fraser <postgres@kiwi-fraser.net>
To: \[JDBC\] <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC broken connection against Postgres 8.4
Date: Sat, 22 Aug 2009 00:10:48 -0700 (PDT)
Message-ID: <422574.93438.qm@web43143.mail.sp1.yahoo.com> (raw)
In-Reply-To: <21799BAE34B045B48C395CAA538CE516@DEVELOP1>
References: <400613.99933.qm@web43143.mail.sp1.yahoo.com>
<331e40660908200509w4f0909d3g675e10a5d736e6f@mail.gmail.com>
<21799BAE34B045B48C395CAA538CE516@DEVELOP1>
First of all, I want to thank everyone for their input.
Second, I installed PG 8.4 server on another box (Windows 2000), and all was well.
So the issue APPEARS to be only if you if the Server is on Windows XP. I'm not sure if the localhost thing contributes since MS does weird things to fake a loopback. I suspect that is the issue.
Case closed, though it might be worth noting a warning thereof.
----- Original Message ----
From: Donald Fraser <postgres@kiwi-fraser.net>
To: [JDBC] <pgsql-jdbc@postgresql.org>
Sent: Thursday, August 20, 2009 7:22:38 AM
Subject: Re: [JDBC] JDBC broken connection against Postgres 8.4
I note from your original email that your test platform is Windows XP.
Please check the system event logs for ID 4226.
If you see this message then you have a TCP connection limit issue causing problems.
----- Original Message ----- From: ??????? ????????
To: Michael Bell
Cc: pgsql-jdbc@postgresql.org
Sent: Thursday, August 20, 2009 1:09 PM
Subject: Re: [JDBC] JDBC broken connection against Postgres 8.4
May be, you have a firewall software that is working and can't keep up with all this connections opened over loopback?
2009/8/17 Michael Bell <mikebell90@yahoo.com>
As you see below, something seems....whacked. A simple loop with an unpooled connection (code provided below) often gives an exception when connecting. The Thread.sleep statement has been made as high as 5000 ms, and exceptions still sporadically occur.
I don't know if this is a JDBC driver issue or core server issue. Or something here. But the code is so simple....
-- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: mikebell90@yahoo.com, postgres@kiwi-fraser.net
Subject: Re: JDBC broken connection against Postgres 8.4
In-Reply-To: <422574.93438.qm@web43143.mail.sp1.yahoo.com>
References: <400613.99933.qm@web43143.mail.sp1.yahoo.com> <331e40660908200509w4f0909d3g675e10a5d736e6f@mail.gmail.com> <21799BAE34B045B48C395CAA538CE516@DEVELOP1> <422574.93438.qm@web43143.mail.sp1.yahoo.com>
* 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