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. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
