2015-04-15 0:18 GMT+02:00 Milad Fatenejad <[email protected]>: > Hello: > > I am new to LSC and I am occasionally getting a > ConcurrentModificationException when synchronizing from active directory to > postgres: > > java.util.ConcurrentModificationException: null > at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) > ~[na:1.7.0_75] > at java.util.ArrayList$Itr.next(ArrayList.java:831) ~[na:1.7.0_75] > at org.lsc.beans.BeanComparator.getWriteAttributes(BeanComparator.java:436) > ~[lsc-core-2.1.3.jar:na] > at org.lsc.beans.BeanComparator.getUpdatedObject(BeanComparator.java:252) > ~[lsc-core-2.1.3.jar:na] > at > org.lsc.beans.BeanComparator.calculateModifications(BeanComparator.java:176) > ~[lsc-core-2.1.3.jar:na] > at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:773) > [lsc-core-2.1.3.jar:na] > at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:707) > [lsc-core-2.1.3.jar:na] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > [na:1.7.0_75] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [na:1.7.0_75] > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] > > Most of the operations are successful, but I occasionally get one or two of > these errors during an LSC run. At this point I am just running some small > synchronization tests (only 14 users or so in active directory). I am > basically using the configuration files from the postgres sample, except > that I have substituted the active directory source for the opendj source. > Is there any reason this should be happening and anyway I can work around > this issue?
Hi, I don't know why this is happening but you can run LSC in a single thread with option '-t 1' in the command line. Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

