commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [pool] GenericKeyedObjectPool borrowObject returning null when exhausted
Date Wed, 11 Aug 2010 02:27:19 GMT
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


Mime
View raw message