DB-backed storage service: testing database pool status?
Wessel, Keith
kwessel at illinois.edu
Thu Aug 28 16:23:17 EDT 2014
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 agree; no sense in relying on what someone else thinks I should be using and forces me into. Just making sure I understand your suggestion.
Keith
-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Thursday, August 28, 2014 2:59 PM
To: Shib Users
Subject: Re: DB-backed storage service: testing database pool status?
On 8/28/14, 3:51 PM, "Wessel, Keith" <kwessel at illinois.edu> wrote:
>So, it sounds like Tomcat 6, if I read that right, uses DBCP by default.
>Of course, since I had no query validation or pool object eviction
>enabled, that does me little good.
I wouldn't really count on that. Just use a recent dbcp and configure it
yourself. Tomcat never did pooling before, and I wouldn't trust them to
keep doing it. I don't even think they *should*; it makes no sense to
override the deployer's explicit choice of DataSource because they think
they know better. In fact, they don't, because a default pool is not
useful.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list