Details
Description
When the JLDAP connection pool is attempting to connect to a LDAP server it's connect call doesn't have a specific timeout, as a result it hangs. Luckily there is a timeout on the objectpool new instance creation and this gets hit after 60 seconds. However in practice this is far too long and in most production setups there will be multiple LDAP servers, so it's much better to have a shorter connection timeout and then it will re-try to connect(hopefully to a different server).