Hi Christian, I'm not sure, but it may be a per-context dependant parameter, so try to put the following line inside your lsc.properties configuration file :
src.com.sun.jndi.ldap.read.timeout=1000 It may be passed to the new InitialLdapContext method so that the SUN JNDI API should use it at the object level and not at the JVM runtime level. Regards, Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/ 2013/7/3 Zyweck, Christian - ENCOWAY <[email protected]> > Any further suggestions? I am getting kinda desperate. ;)**** > > ** ** > > Regards,**** > > Chris**** > > ** ** > > *Von:* Zyweck, Christian - ENCOWAY > *Gesendet:* Donnerstag, 27. Juni 2013 15:37 > *An:* 'Clément OUDOT' > *Cc:* Sébastien Bahloul; [email protected] > *Betreff:* AW: [lsc-users] Connection Timeout for LDAP Connections (LSC > 1.2.1)**** > > ** ** > > Hey Clément!**** > > ** ** > > Thanks for the suggestion.**** > > ** ** > > I tried it – no changes in the behaviour. From what I can tell, the > com.sun.jndi.ldap.read.timeout property is for configuring operations on an > existing connection. It really seems to be an issue of establishing the > connection and I am somewhat surprised that the > com.sun.jndi.ldap.connect.timeout property does not work. :-/**** > > ** ** > > Regards,**** > > Chris**** > > ** ** > > *Von:* Clément OUDOT [mailto:[email protected] <[email protected]>] > *Gesendet:* Donnerstag, 27. Juni 2013 15:31 > > *An:* Zyweck, Christian - ENCOWAY > *Cc:* Sébastien Bahloul; [email protected] > > *Betreff:* Re: [lsc-users] Connection Timeout for LDAP Connections (LSC > 1.2.1)**** > > ** ** > > ** ** > > 2013/6/27 Zyweck, Christian - ENCOWAY <[email protected]>**** > > 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).**** > > **** > > > You can also try this parameter: > > com.sun.jndi.ldap.read.timeout > > > > Clément.**** > > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [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

