Disable LDAP pooling the easy way on IDP v3?

Cantor, Scott cantor.2 at osu.edu
Thu Mar 24 20:22:04 EDT 2016


On 3/24/16, 4:40 PM, "users on behalf of Jeffrey Crawford" <users-bounces at shibboleth.net on behalf of jeffreyc at ucsc.edu> wrote:



>We are having a hardware issue on one of the systems that hosts our LDAP server. It's pretty infrequent but it does crash and connection pooling is causing the node using it to die since there is not a clean TCP disconnect.
>
>Is there a way to temporarily disable pooling without needing to mess with beans in the ldap-authn-config.xml?

I may be applying inapplicable experience from pooling JDBC, but back when I used remote databases, that sort of thing wasn't something I fixed by turning off pooling, it meant the pooling library was flawed or I needed to adjust settings so it would detect the failed connections in a way that insulated me from the issue.

I don't know if that's possible here, but I know I eventually got to a pretty good place with dbcp back then using pool validation tricks to keep it from exposing me to bad connections.

-- Scott



More information about the users mailing list