tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Gooding <josh.good...@gmail.com>
Subject Re: ConnectionPool question
Date Mon, 02 Nov 2009 14:12:12 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message