Subject Re: [Firebird-Java] Glassfish 2.1 connection pool does not ask for more than 10 connections, regardless of poolsize
Author Roman Rokytskyy
> in PooledConnectionQueue, line 477
>
> boolean maximumCapacityReached =
> getConfiguration().getMaxPoolSize() <= totalConnections &&
> getConfiguration().getMaxPoolSize() != 0 &&
> getConfiguration().isPooling();
>
> evaluates to true, because getConfiguration().getMaxPoolSize() returns 10,
> regardless of what i configure in glassfishs admin console. any idea what i
> could do to solve this?

The value 10 is the default value of the maxPoolSize property.

Do you really use 10 connections simultaneously? If that is the case,
then the bug is somewhere in setting the maxPoolSize property...

Maybe next week I will have some time to check the issues with pool in
JBoss and Glassfish...

Roman