quality@glassfish.java.net

Re: Connection pool resizing question

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Wed, 03 Dec 2008 14:09:13 +0530

Yes, this is a known issue.
Typically, admin (not the GUI) allows one attribute change at a time.
Hence if the order in which the values are updated conflicts with
existing values (same as your usecase), you will see this error.

Thanks,
-Jagadish


On Wed, 2008-12-03 at 09:30 +0100, Wouter van Reeven wrote:
> Hi all,
>
>
> Recently I created a connection pool in GF2.1 using all of the default values.
> The default for minimum pool size is 8 and the default for maximum pool size is
> 32. When I tried to set the minimum size to 2 and the maximum size to 4 and
> clicked the save button in de admin console, I got this error
>
> com.sun.enterprise.admin.AdminValidationException: Value (4) should be more or equal to value of attribute @steady-pool-size (8)
>
> Only when I first set the minimum size to 2, clicked save and then set the
> maximum size to 4 and clicked save, GF would accept this.
>
> This sounds like a minor bug to me. Has anyone ever encountered or reported
> this?
>
>
> Thanks, Wouter
>