Subject | Re: [Firebird-Java] Glassfish 2.1 connection pool does not ask for more than 10 connections, regardless of poolsize |
---|---|
Author | Roman Rokytskyy |
Post date | 2009-05-07T12:53:52Z |
> in PooledConnectionQueue, line 477The value 10 is the default value of the maxPoolSize property.
>
> 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?
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