Subject | Re: [Firebird-Java] Pool bug? |
---|---|
Author | Steven Jardine |
Post date | 2006-02-06T20:59:59Z |
I just ran my own test and I cannot duplicate your problem, so we will
need a test case as Roman suggests to proceed any further.
Steve
Roman Rokytskyy wrote:
need a test case as Roman suggests to proceed any further.
Steve
Roman Rokytskyy wrote:
>> In here, repeated calls are made to the addConnection(stack) method. This
>> 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.
>>
>
> Did you see 'stack.pop' below?
>
> 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
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>