commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Baum <karl.b...@gmail.com>
Subject Re: [pool] GenericKeyedObjectPool borrowObject returning null when exhausted
Date Wed, 11 Aug 2010 02:52:07 GMT
Hi Phil.  Thanks for the response.  It seems as if it was a problem  
with my code.

thx.

-karl

On Aug 10, 2010, at 10:27 PM, Phil Steitz wrote:

> Karl Baum wrote:
>> I am running into an issue where GenericKeyedObjectPool seems to be
>> returning null when it's exhausted.  I have it set to block.  Is this
>> expected?
>
> No, this is not expected unless your object factory is returning
> nulls.  Can you provide some more information on your setup (pool
> configuration, how that factory works, etc.)?
>
> Phil
>>
>> apache commons pool 1.5.4
>> java version "1.6.0_18"
>> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
>> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>>
>> thx.
>>
>> -karl
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message