pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <Dave@micro-automation.net>
To: Lemasson Sylvain <s.lemasson@mak-system.net>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Connection time out
Date: 28 Oct 2003 10:42:11 -0500
Message-ID: <1067355731.1620.175.camel@localhost.localdomain> (raw)
In-Reply-To: <001901c39d5e$ca5a2d60$221e210a@PCJ1>
References: <003301c39d2e$35500940$221e210a@PCJ1>
	<20031028112302.A32750@bacon>
	<001901c39d5e$ca5a2d60$221e210a@PCJ1>

Lemasson,

I would check to make sure that you don't have a firewall between you
and the database. As far as I know the default is infinite.

Check the archives for "dropping connections"

Dave
On Tue, 2003-10-28 at 09:21, Lemasson Sylvain wrote:
> Thank you for your reply thomas, but the setLoginTimout concernes the time a
> driver wait while attempting to connect to a database. My question was about
> the live time of a connection. I mean when we get a connection, postgres
> reset the connection after a time out ("connection reset by peer" error
> message). I want to set this time out to infinit but I do not know how.
> 
> Lemasson Sylvain
> Ingénieur développeur
> s.lemasson@mak-system.net
> tel: 01.48.63.27.27
> MAK-SYSTEM SERVICES
> Groupe MAK-SYSTEM
> Paris Nord 2 - 13, rue de la Perdrix
> BP 50035-95946 Roissy CDG Cédex
> FRANCE
> ----- Original Message ----- 
> From: "Paul Thomas" <paul@tmsl.demon.co.uk>
> To: "Lemasson Sylvain" <s.lemasson@mak-system.net>
> Cc: "pgsql-jdbc @ postgresql . org" <pgsql-jdbc@postgresql.org>
> Sent: Tuesday, October 28, 2003 12:23 PM
> Subject: Re: [JDBC] Connection time out
> 
> 
> >
> > On 28/10/2003 08:33 Lemasson Sylvain wrote:
> > > Hi,
> > >    where can we set the time-out of a connection ?.
> >
> > DriverManager.setLoginTimeout(int seconds);
> >
> > -- 
> > Paul Thomas
> >
> +------------------------------+--------------------------------------------
> -+
> > | Thomas Micro Systems Limited | Software Solutions for the Smaller
> > Business |
> > | Computer Consultants         |
> > http://www.thomas-micro-systems-ltd.co.uk   |
> >
> +------------------------------+--------------------------------------------
> -+
> >
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 
-- 
Dave Cramer <Dave@micro-automation.net>




view thread (8+ messages)  latest in thread

Message-ID: <1067355731.1620.175.camel@localhost.localdomain>
Permalink:  ../1067355731.1620.175.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1067355731.1620.175.camel@localhost.localdomain

 · 

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: Dave@micro-automation.net, s.lemasson@mak-system.net
  Subject: Re: Connection time out
  In-Reply-To: <1067355731.1620.175.camel@localhost.localdomain>
  References: <003301c39d2e$35500940$221e210a@PCJ1> <20031028112302.A32750@bacon> <001901c39d5e$ca5a2d60$221e210a@PCJ1> <1067355731.1620.175.camel@localhost.localdomain>

* 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