directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: JNID vs. Apache DS API - Reconnect to LDAP
Date Tue, 29 Jan 2013 14:23:24 GMT
Le 1/29/13 3:17 PM, Jim Willeke a écrit :
> Within JNDI, you can search for some know entry and determine if it returns
> a value (or if an exception is thrown).
> If you get the "correct" response, you know you are good.
> I did not check, but undoubtedly, the isConnected() call is doing something
> similar as the LDAP protocol has no method to determine "isConnected".
The best would be to request periodically for the root entry, with 1.1
as a parameter (it won't return anything).

But by configuring the TCP Keepalive parameter, the connection should
not be closed.

Emmanuel Lécharny 

View raw message