db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject [repost] Re: Configuring SharedPoolDataSourceFactory
Date Mon, 08 Sep 2003 23:19:06 GMT
Anyone (martin?) have an answer to my query below?

Scott Eade wrote:

> In the SharedPoolDataSourceFactory section of
> http://db.apache.org/torque/configuration-howto.html the
> configuration of the pool is shown thus:
>
>    torque.dsfactory.bookstore.pool.defaultMaxActive=30
>    torque.dsfactory.bookstore.pool.testOnBorrow=true
>    torque.dsfactory.bookstore.pool.validationQuery=SELECT 1
>
> For me this results in the following appearing in my log file:
>
> ...ERROR...dsfactory.AbstractDataSourceFactory - Property: 
> defaultMaxActive value: 3 is not supported by DataSource: 
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> ...ERROR...dsfactory.AbstractDataSourceFactory - Property: 
> testOnBorrow value: true is not supported by DataSource: 
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> ...ERROR...dsfactory.AbstractDataSourceFactory - Property: 
> validationQuery value: SELECT 1 is not supported by DataSource: 
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
>
> Is this something I am doing wrong or is there a problem
> somewhere in org.apache.torque.dsfactory.SharedPoolDataSourceFactory?
>
> Thanks,
>
> Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





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


Mime
View raw message