Subject | Re: [Firebird-Java] Pool bug? |
---|---|
Author | Roman Rokytskyy |
Post date | 2006-02-06T20:29:24Z |
> In here, repeated calls are made to the addConnection(stack) method. ThisDid you see 'stack.pop' below?
> will never return a connection, as the maxConnections has been reached,
> and so it simply returns false, waits, and then tries again. It never
> checks the stack, however, to see if any of the busy connections have been
> returned. Eventually it fails with a timeout error, even though
> connections are sitting there waiting to be used.
I do not believe that you have descovered an error, since this situation is
checked in one of our test cases. But to be sure, please create a
reproducable test case and post it either here or send me per email.
Roman