pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Donald Fraser <postgres@kiwi-fraser.net>
To: [JDBC] <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC broken connection against Postgres 8.4
Date: Thu, 20 Aug 2009 15:22:38 +0100
Message-ID: <21799BAE34B045B48C395CAA538CE516@DEVELOP1> (raw)
References: <400613.99933.qm@web43143.mail.sp1.yahoo.com>
	<331e40660908200509w4f0909d3g675e10a5d736e6f@mail.gmail.com>

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




view thread (14+ messages)  latest in thread

Message-ID: <21799BAE34B045B48C395CAA538CE516@DEVELOP1>
Permalink:  ../21799BAE34B045B48C395CAA538CE516@DEVELOP1/
Also on:    postgresql.org/message-id/21799BAE34B045B48C395CAA538CE516@DEVELOP1

 · 

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: postgres@kiwi-fraser.net
  Subject: Re: JDBC broken connection against Postgres 8.4
  In-Reply-To: <21799BAE34B045B48C395CAA538CE516@DEVELOP1>
  References: <400613.99933.qm@web43143.mail.sp1.yahoo.com> <331e40660908200509w4f0909d3g675e10a5d736e6f@mail.gmail.com> <21799BAE34B045B48C395CAA538CE516@DEVELOP1>

* 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