Dear ALL

I encountered one serious problem with JDBC getConnection that it waits very
very long time (> 4 mins) when there is network problem between web server
and database server. Browsers can��t wait that long time and timeout. But we
want to print a message to user that database connection error occurred

I��m using classes12.zip thin client from Oracle.

Does anyone know how to shorten the getConnection timeout ?

This depends on your server really.

Also, I would avoid trying to make and destroy db connections on the fly
as you seem to be doing, it causes the very problems you are experiencing.

Andy Bailey

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to