Announcement Announcement Module
Collapse
No announcement yet.
intermittently LDAP search query takes long time ..like 1 in 20 times Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • intermittently LDAP search query takes long time ..like 1 in 20 times

    I am performing LDAP search(ldapTemplate.search method), usually the query completes in 600ms but occasionally the same query takes around 77000ms.
    please help me out how trace the issue or if you have any solutions please let me know. Thank you very much for you help.
    Below is the configuration in springBean.xml
    <bean id="contextSource" class="org.springframework.ldap.core.support.LdapC ontextSource">
    <property name="url" value="ldap://dc.dev.abc.org:389" />
    <property name="base" value="CN=Users,DC=dev,DC=abc,DC=org" />
    <property name="userDn"
    value="CN=abc,CN=Users,DC=dev,DC=abc,DC=org" />
    <property name="password" value="wealcome1" />
    <property name="referral" value="followa" />
    <property name="baseEnvironmentProperties">
    <map>
    <entry key="java.naming.security.authentication" value="simple" />
    </map>
    </property>
    </bean>
    <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate" >
    <constructor-arg ref="contextSource" />
    </bean>
    <bean id="employeeDao" class="org.denverwater.ldap.EmployeeDaoImpl">
    <property name="ldapTemplate" ref="ldapTemplate" />
    </bean>
Working...
X