Description:
We are seeing error in Mart Server LDAP groups, in application log, messages like:
ERROR ldap.LdapBindAuthenticator.error: org.springframework.ldap.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; nested exception is javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name ''
[23/04/20 12:11:26:026 AEST] ERROR ldap.LdapBindAuthenticator.error: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name ''
[23/04/20 12:11:26:026 AEST] ERROR exception.MMException.setException: Erwin Exception Encountered error while searching group. The server has exceeded its time limit for searching. Type more letters of the name and try again.
[23/04/20 12:11:26:026 AEST] ERROR ldap.LdapBindAuthenticator.error: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name ''
[23/04/20 12:11:26:026 AEST] ERROR exception.MMException.setException: Erwin Exception Encountered error while searching group. The server has exceeded its time limit for searching. Type more letters of the name and try again.
Is there any parameter we can change or increase the searching time in LDAP in Mart Server?
Answer:
There is a default setting on searching time in a file named 'rest-security.xml'
</beans:property>
<beans:property name="searchTimeLimit" value="120000" />
<beans:property name="searchCountLimit" value="50" />
The file is located at :
C:\Program Files\erwin\Mart Server r9\Tomcat64\webapps\MartServer\WEB-INF\rest-security.xml
</beans:property>
<beans:property name="searchTimeLimit" value="120000" />
<beans:property name="searchCountLimit" value="50" />
The file is located at :
C:\Program Files\erwin\Mart Server r9\Tomcat64\webapps\MartServer\WEB-INF\rest-security.xml
Here are the steps on how to do it:
1. Stop the Mart Server service from Control Panel | Services.
2. Make changes to these parameters.
<beans:property name="searchTimeLimit" value="120000" />
<beans:property name="searchCountLimit" value="50" />
In the example above, 120000 is the milliseconds - you can change to 300000 or even larger number and search count number to 100, if needed, based on searching group size in your LDAP,
3. Restart the mart server service again
Comments
0 comments
Please sign in to leave a comment.