Thanks a lot Phil.
I am using the DriverManagerConnectionFactory instead of
DataSourceConnectionFactory and it works fine.
BasicDataSource does not have an option to specify the
When Exhausted Action. If I use BasicDataSource then how can I specify
this parameter.
-Original Message-
.
2007/8/7, Dave, Tushar <[EMAIL PROTECTED]>:
>
> I am initializing the Pool as below.
>
> private void initialize(ConnectionPoolParameters oParams)
> {
>GenericObjectPool oPool = new GenericObjectPool(null);
>oPool.setMaxActive(oParams.getMaxSize());
>oPool.
connections.
Am I initializing the pool properly?
--Tushar
From: Dave, Tushar
Sent: Tuesday, August 07, 2007 10:43 AM
To: '[EMAIL PROTECTED]'
Subject: [DBCP] Connection gets blocked on 9th connection.
I am initializing the GeneriConnectionPool
I am initializing the GeneriConnectionPool using the following
parameters
MaxActive=3D30
MaxIdle=3D20
MinIdle=3D20
MaxWait=3D1000
TestOnBorrow=3Dtrue
ActionWhenExhasuted =3D 2(GROW)
I try to test the connection pool by using the following code.
List liCon =3D new ArrayList(); for(i