2013/11/4 Maxime Pelletier <[email protected]> > Hi all, > > Any idea how to fix that error while syncing with OpenLDAP: > ===================== > Nov 04 09:26:20 - INFO - Starting clean for Eleves > Nov 04 09:30:35 - ERROR - Error while deleting entry > uid=XXXXXX,ou=Personne,dc=myorg directory > :javax.naming.CommunicationException: connection closed [Root exception is > java.io.IOException: connection closed]; remaining name > 'uid=XXXXXXX,ou=Personne' > Nov 04 09:30:35 - ERROR - Error while synchronizing ID > uid=XXXXXX,ou=Personne,dc=myorg: org.lsc.exception.LscServiceException: > javax.naming.CommunicationException: connection closed [Root exception is > java.io.IOException: connection closed]; remaining name > 'uid=XXXXXXXX,ou=Personne' > dn: uid=XXXXXX,ou=Personne,dc=myorg > changetype: delete > > Nov 04 09:30:35 - ERROR - Connection lost! Aborting. > ===================== > > Looks like some OpenLDAP timeout setting is too short and that it > disconnects LSC before the exexution is complete. > > Based on Google research,I tried these settings in JAVA_OPTS but no luck: > -Djava.naming.ldap.version=2 > -Dcom.sun.jndi.ldap.read.timeout=60000 > -Dcom.sun.jndi.ldap.connect.pool=false > -Dcom.sun.jndi.ldap.connect.timeout=60000 > > Any idea? >
Seems not a good idea to use LDAPv2. We do not have such timeout problems, do you know why the connection is closed? Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

