Announcement Announcement Module
Collapse
No announcement yet.
ldapTemplate - URL Failover is extremely slow. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ldapTemplate - URL Failover is extremely slow.

    We're using two LDAP servers for failover purposes but if we take one down it takes a long time the connection to switch the other LDAP URL.

    Is there a timeout setting or something else that needs to be configured to speed up the failover time to a backup LDAP server?

    Below is the config from our applicationContext file.

    Code:
        <bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
          <property name="urls">
    	    <list>	      
    	      <value>${ldap2.DevUrl}</value>
    	      <value>${ldap1.DevUrl}</value>
    	    </list>
          </property>
          <property name="base" value="${ldap.DevBase}" />
          <property name="userDn" value="${ldap.DevUserDn}" />
          <property name="password" value="${ldap.DevPassword}" />
        </bean>
    
        <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
           <constructor-arg ref="contextSource" />
        </bean>


    Thanks,
    Dave
Working...
X