Setting a "ping" command should help.

Kruse, Matt wrote:
I'm using BasicDataSource, connecting to a Sybase11 server. It seems that
every night, all idle connections are closed by the server (no app
activity), but for some reason that's not detected by the connection pool.
Our app hangs while trying to get a connection, and I can't figure out why.
It doesn't even come back after the "maxWait" time and give me an exception
- it just waits forever.





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to