Issue #580 has been updated by Raphaƫl Ouazana. Status changed from New to Feedback Assigned to set to Jon Kidder
Some bugs about connection handling have been fixed in 2.0.2 et after. Can you please try if this fix your issue? ---------------------------------------- Bug #580: idle connections that get terminated cause sync jobs to fail http://tools.lsc-project.org/issues/580 Author: Jon Kidder Status: Feedback Priority: Normal Assigned to: Jon Kidder Category: Core Target version: 2.1 Problem in version: 2.0.1 I have an LSC job that runs several tasks to pull data from several LDAP sources. Some of the source LDAP servers are behind a firewall which terminates idle connections after 2 minutes. My job runs for several minutes and source connections are frequently terminated before LSC gets to the tasks that use them. The debug log shows the below error in these cases. I realize I could break these tasks up into multiple jobs to solve this problem but thought I'd report it anyway. Mar 18 15:50:33 - INFO - Starting sync for XXXX Mar 18 15:50:33 - DEBUG - Using pagedResults control for 499 entries at a time Mar 18 15:50:33 - ERROR - Error getting list of IDs in the source for task XXXX Mar 18 15:50:33 - DEBUG - org.lsc.exception.LscServiceException: javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]; remaining name 'cn=users' org.lsc.exception.LscServiceException: javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]; remaining name 'cn=users' at org.lsc.jndi.SimpleJndiSrcService.getListPivots(SimpleJndiSrcService.java:180) ~[lsc-core-2.0.1.jar:na] at org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:313) ~[lsc-core-2.0.1.jar:na] at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:220) [lsc-core-2.0.1.jar:na] at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:157) [lsc-core-2.0.1.jar:na] at org.lsc.Launcher.run(Launcher.java:224) [lsc-core-2.0.1.jar:na] at org.lsc.Launcher.launch(Launcher.java:159) [lsc-core-2.0.1.jar:na] at org.lsc.Launcher.main(Launcher.java:142) [lsc-core-2.0.1.jar:na] Caused by: javax.naming.CommunicationException: Connection reset at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1979) ~[na:1.6.0_18] at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1824) ~[na:1.6.0_18] at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749) ~[na:1.6.0_18] at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) ~[na:1.6.0_18] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) ~[na:1.6.0_18] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) ~[na:1.6.0_18] at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) ~[na:1.6.0_18] at org.lsc.jndi.JndiServices.getAttrsList(JndiServices.java:974) ~[lsc-core-2.0.1.jar:na] at org.lsc.jndi.SimpleJndiSrcService.getListPivots(SimpleJndiSrcService.java:176) ~[lsc-core-2.0.1.jar:na] ... 6 common frames omitted java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) ~[na:1.6.0_18] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) ~[na:1.6.0_18] at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) ~[na:1.6.0_18] at java.io.BufferedInputStream.read(BufferedInputStream.java:317) ~[na:1.6.0_18] at com.sun.jndi.ldap.Connection.run(Connection.java:807) ~[na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) ~[na:1.6.0_18] -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

