commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Huang" <yourenzh...@gmail.com>
Subject [DBCP] Connection Timeout
Date Tue, 21 Apr 2009 00:52:49 GMT
I use Oracle, the db connection will be time out when exceeded maximum idle time. But DataSource
still return this invalid connection. I found it has a issue DBCP-287, but it's unscheduled.

I think if DataSource can close the connection first( if connection is idle in 5 minutes or
more ) when getConnection() method is called, then the connection never exceeded maximum idle
time. 

Can someone pls kindly get me some suggest for codeing??   

-------------
Kenneth Huang



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message