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<Connection> liCon =3D new ArrayList<Connection>(); for(i=3D0 ; i <
10 ; i++) {
Connection oCon =3D oPool.getConnection();
liCon.add(oCon);
}
The call to oPool.getConnection() gets blocked indefinitely when I try
to get the 9th connection.
Am I missing something?
Any ideas
Thanks
Tushar Dave