Hey everyone,
Few questions on Tomcat 5.5.27 running on BEA JRockit 1.4.2_11, SQL Server 2005
jtds 1.2.2
1) What version of commons dbcp and commons pool does Tomcat 5.5.27 use? I
know that it uses it's own sources in the naming-factory-dbcp.jar but I'm not
sure what version commons this corresponds to.
2) Can I upgrade or override the version of pooling/dbcp that tomcat uses?
3) I currently have the naming-factory-dbcp.jar in the commons/lib directory
but my app/lib directory also contains commons-dbcp-1.2.1.jar and
commons-pool-1.2.jar.
4) Are there known issues on 5.5.27 when running abandonedobjectpool
log-abandoned and remove-abandoned with a 30 second time out? Here's a list of
the options on the resource pool.
removeAbandoned="true"
removeAbandonedTimeout="30"
logAbandoned="true"
testWhileIdle="true"
validationQuery="SELECT COUNT(*) FROM TEST"
timeBetweenEvictionRunsMillis="300000"
minEvictableIdleTimeMillis="600000"
numTestsPerEvictionRun="100"
The app isn't holding onto any connections but we end up with a ton of
abandoned object notifications and a lot of locked threads. I've seen issues
posted on the commons about potential issues in commons pool but not sure what
tomcat would be using in this instance.