Hey Sébastien, correct, the issue i am encountering is about the initial connection. LSC logs tell me there is an error opening the LDAP connection to the source and I keep getting a java.net.ConnectException: Connection timeout: connect.
I checkd the JVM arguments with JVisual VM to make sure that -Dcom.sun.jndi.ldap.connect.timeout is being passed correctly, which is the case. JRE is 1.7.09 (64bit). Regards, Chris Von: Sébastien Bahloul [mailto:[email protected]] Gesendet: Donnerstag, 27. Juni 2013 13:15 An: Zyweck, Christian - ENCOWAY Cc: Clément OUDOT; [email protected] Betreff: Re: [lsc-users] Connection Timeout for LDAP Connections (LSC 1.2.1) Hi Christian, Just to be sure: the issue you are encountering is about the connection (initial establishment of new connection) or the timeout of an already connected socket just because of an idle status ? In the latter, does the network socket between the host running LSC and the directory server go through a proxy or a firewall that could just cut the idle TCP connection ? Regards, Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/ 2013/6/27 Zyweck, Christian - ENCOWAY <[email protected]<mailto:[email protected]>> Sadly I have to correct myself. The connection still times out after about 20 seconds. I tried modifying the lsc batch file as follows: [OLD] %JAVA_COMMAND% -cp "%CLASSPATH%" org.lsc.Launcher %* [NEW] %JAVA_COMMAND% -cp "%CLASSPATH%" -Dcom.sun.jndi.ldap.connect.timeout=60000 org.lsc.Launcher %* I also tried setting the option via SET JAVA_OPTS in the batch file before calling the main method. The result was, hoewever, the same. Any suggestions? - Chris Von: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] Im Auftrag von Zyweck, Christian - ENCOWAY Gesendet: Mittwoch, 26. Juni 2013 16:56 An: Clément OUDOT Cc: [email protected]<mailto:[email protected]> Betreff: Re: [lsc-users] Connection Timeout for LDAP Connections (LSC 1.2.1) I can confirm that this is working. Thanks a lot! :) _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected]<mailto:[email protected]> http://lists.lsc-project.org/listinfo/lsc-users
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

