db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfonso Garrido Casado <alfonso_garr...@es.ibm.com>
Subject Timeout connection.
Date Wed, 08 Jul 2009 16:26:28 GMT

I'm developing a very simple application that uses the jdbc client driver 
to access a data base in database server.

conn = DriverManager.getConnection(

If the database server is not running the driver take a very long time, 
three minutes more or less to throw the java.sql.SQLException.
I've tried to use setLoginTimout() method to put a lower timeout but it 
didn't work.
Is there any way to lower the timeout connection?

Hasta luego / See you / At? ent?o / ראה אותך אחר כך / ????? ????
Alfonso Garrido
Tel?fono/Phone    ext.: 34-91-3976611     Int.: 51787
e-mail: alfonso_garrido@es.ibm.com
Direcci?n/Address:   C/ Sta. Hortensia 26-28,  28002 Madrid

Salvo indicado de otro modo m?s arriba / Unless stated otherwise above:
International Business Machines, S.A.
Santa Hortensia, 26-28, 28002 Madrid
Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
CIF A28-010791

View raw message