It seems as though you cannot set the maxActive to "-1" as you can in the
javax.sql.ConnectionPool for unlimited.
On Mon, Nov 2, 2009 at 4:36 AM, Konstantin Kolinko
<knst.kolinko@gmail.com>wrote:
> 2009/10/31 Josh Gooding <josh.gooding@gmail.com>:
> >(...)
> > and I am getting a tomcat startup exception:
> >
> > WARNING: Unexpected exception resolving reference
> > java.lang.IllegalArgumentException
> > at java.util.concurrent.ArrayBlockingQueue.<init>(Unknown Source)
> > at
> > org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:367)
>
> Line 367 in ConnectorPool.java is
>
> busy = new
> ArrayBlockingQueue<PooledConnection>(properties.getMaxActive(),false);
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
|