Hi,

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

Class.forName("org.apache.derby.jdbc.ClientDriver");
conn = DriverManager.getConnection("jdbc:derby://192.168.1.33:1527/usersDB");

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

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