DB-backed storage service: testing database pool status?

Cantor, Scott cantor.2 at osu.edu
Thu Aug 28 16:33:13 EDT 2014


On 8/28/14, 4:23 PM, "Wessel, Keith" <kwessel at illinois.edu> wrote:

>Just to confirm, Scott, you're suggesting I explicitly state:
>
>factory=" org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
>
>rather than relying on Tomcat's hard-coded default behavior?

I don't think that's the dbcp package names.

http://commons.apache.org/proper/commons-dbcp/

I'm suggesting you use the actual dbcp code, not whatever Tomcat's
developers imprudently decided to include in their own jars.

One reason is that it makes your deployment less dependent on Tomcat as a
container.

-- Scott



More information about the users mailing list