In your case you probably need to set the timeout on the odbc driver.
Once the connection is in the pool then the maxWait can be used to limit the pool waiting time.
-- Dirk
Paul Hsu wrote:
Hi,
I have one question about DBCP. I am connecting a database thruough Dharma odbc driver, so I use jdbc to odbc bridge,. It take a long time come back as expection when I try to call datasource.getConnection() and the server database daemon is not running. I cannot find any way to set up the time out in DBCP, I may miss some paramters. It would be appreciated if any one know how can I solve the problem.
Thanks,
Paul
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
