Connector Migration from V1 to V2 fails - LDAP response read timed out, timeout used: -1ms
search cancel

Connector Migration from V1 to V2 fails - LDAP response read timed out, timeout used: -1ms

book

Article ID: 271877

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

Trying to run the migration script from a v1 connector to a v2 connector (i.e. TSSv2Migrate.bat) fails with an error: LDAP response read timed out, timeout used: -1ms

Environment

All Identity Manager

Cause

Based on searching online the "LDAP response read timed out, timeout used: -1ms" can happen with certain JDK versions when there is no explicit value set for com.sun.jndi.ldap.read.timeout parameter in which case a default of 15 seconds is used.

Resolution

You can modify the \Connector Server\jcs\resources\tss\TSSv2Migrate.bat file to add -Dcom.sun.jndi.ldap.read.timeout=3600000 for instance if that is the script being executed. You would need to add the -Dcom.sun.jndi.ldap.read.timeout=3600000 to the same line as the JAVA_OPTS not on a different line in the bat file.