> Just noticed the bean configuration for the contextSource has pooled set to 
> true which on looking at the com.sun.jndi.ldap.LdapClient.close method 
> instructs the pool to release the connection and not close it.

Thanks for sharing this.  I wasn't aware of this behavior per se, but
it makes sense upon consideration.  This is yet another reason to
avoid JNDI-based connection pooling.  It has a number of undesirable
behaviors; object-based connection pooling as described on
https://wiki.jasig.org/display/CASUM/LDAP is the way to go.

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to