My webMethods Server 10.1 | My webMethods Server Webhelp | Document Conventions | My webMethods Administrator Functions | Managing My webMethods Configuration | Managing External Directory Services | Configuring an External LDAP, ADSI, or ADAM Directory Service | Configuring a Connection Timeout for an LDAP Directory Service
 
Configuring a Connection Timeout for an LDAP Directory Service
By default, My webMethods Server uses the value of the Search Timeout property to define the timeout of a connection to an LDAP server. However, the primary purpose of the Search Timeout property is to specify the timeout of an LDAP query.
In some cases you might need to specify a different connection timeout value than the value of Search Timeout. To do that, you can configure the -Dcom.webmethods.portal.portlet.wm_xt_ldapdirsvc.service.connection.timeout parameter in the custom_wrapper.conf file of My webMethods Server. The default value of the LDAP directory service connection timeout parameter is 10 seconds. If you do not configure the connection timeout parameter and the value of Search Timeout is set to 0, My webMethods Server uses the default connection timeout value of 10 seconds.
For more information about Search Timeout and about configuring an LDAP directory service, see Configuring an External LDAP, ADSI, or ADAM Directory Service.
*To configure a connection timeout for an LDAP directory service
1. Go to Software AG_directory \profiles\MWS_serverName\configuration and open the custom_wrapper.conf file in a text editor.
2. Add the following parameter:
wrapper.java.additional.number=
-Dcom.webmethods.portal.portlet.wm_xt_ldapdirsvc.service.connection.timeout= time_in_seconds
where number is a unique sequential number depending on the already existing parameter numbers in the file.
3. Save the file and restart My webMethods Server.