Re: Connection time out - Mailing list pgsql-jdbc

From Lemasson Sylvain
Subject Re: Connection time out
Date
Msg-id 001901c39d5e$ca5a2d60$221e210a@PCJ1
Whole thread Raw
In response to Connection time out  ("Lemasson Sylvain" <s.lemasson@mak-system.net>)
Responses Re: Connection time out
Re: Connection time out
List pgsql-jdbc
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   |
>
+------------------------------+--------------------------------------------
-+
>



pgsql-jdbc by date:

Previous
From: Paul Thomas
Date:
Subject: Re: Connection time out
Next
From: Dave Cramer
Date:
Subject: Re: Connection time out