ramakrishnach04 / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: pool checkout may hang if pool is empty #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Both the blocking and softlimit pools will hang indefinitely if a connection is 
requested and the pool is empty and connection creation fails. Pool should 
throw exhausted exception in this circumstance.

Original issue reported on code.google.com by dfis...@gmail.com on 7 Feb 2012 at 8:15

GoogleCodeExporter commented 8 years ago
Updated AbstractLdapPool#initialize to throw IllegalStateException if 
minPoolSize > 0 but initialize produced a pool of size 0.
Updated Blocking and SoftLimit pools to throw LdapPoolExhaustedException if 
connection creation fails and the pool is empty.

Original comment by dfis...@gmail.com on 7 Feb 2012 at 8:20

GoogleCodeExporter commented 8 years ago
Committed fix in r2241.

Original comment by dfis...@gmail.com on 7 Feb 2012 at 8:20

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 21 Feb 2012 at 9:38