DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13077>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13077
Jdbc2PoolDataSource issues
Summary: Jdbc2PoolDataSource issues
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Dbcp
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: roytmana@peacetech.com
Hi,
I tried Jdbc2PoolDataSource and liked it very much. I would like to make few
suggestions.
1. Make Jdbc2PoolDataSource class compliant with java bean naming convention.
Specifically there are several boolean properties where getter starts
with "get" rather than "is". As a result these properties can not be utilized
by various third party tools - for example Tomcat4 didgester do not set those
properties from server.xml
2. Some Jdbc2PoolDataSource pooling properties which are then passed to Jakarta-
Commons Pools have default valuse which do not match pool's defaults which
causes quite unexpected results. Example when I sullpy positive
minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis I expect pool to
use an eviction thread to do the eviction. It does not happen however because
Jdbc2PoolDataSource set numTestsPerEvictionRun to zero. Default value for
numTestsPerEvictionRun is 3 I believe. It took me a while and actually doing
some debugging to find out this simple issue :-)
I would like to use Jdbc2PoolDataSource very much. Do you have any timeframe
for next release version of DBCP with Jdbc2PoolDataSource included
Thank you very much
Alex Roytman
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
|