By: kamlesh sharma user 11 Oct 2020 at 6:29 a.m. CDT

5 Responses
kamlesh sharma gravatar
Dear team, I don’t see duplicate records. How to check and remove them? I also uninstalled and installed gluu now again, stilll face same error. Please advise. Thanks in advance! Kamlesh Sharma I [cid:image001.png@01D69FD4.ABC11810] Middleware Administrator | Technical Support Group Building 1091, Road 4225, Block 342, Juffair P.O. Box 33305 | Kingdom of Bahrain Direct line +973 17377319 kamlesh.sharma@iga.gov.bhmailto:kamlesh.sharma@iga.gov.bh> | www.bahrain.bhhttp://www.bahrain.bh/> [cid:image002.png@01D69FD4.ABC11810]https://www.facebook.com/iGABahrain/> [cid:image003.png@01D69FD4.ABC11810]http://www.twitter.com/egovbahrain> [cid:image004.png@01D69FD4.ABC11810]http://instagram.com/egovbahrain> [cid:image005.png@01D69FD4.ABC11810]http://www.youtube.com/egovbahrain> [cid:image006.png@01D69FD4.ABC11810]https://www.linkedin.com/company/egovernment-authority> [cid:image007.jpg@01D69FD4.ABC11810]

By kamlesh sharma user 11 Oct 2020 at 6:43 a.m. CDT

kamlesh sharma gravatar
Hi, If I change the base DN to sync in cache refresh, I notice one times its adding but then in next trigger it fails. 2020-10-11 11:40:48,846 INFO [Thread-387] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:493) - There are '8' entries after adding '8' entries 2020-10-11 11:40:48,846 INFO [Thread-387] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:493) - There are '8' entries after adding '8' entries ****************************************************************** 2020-10-11 11:42:48,526 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:1158) - Created Cache Refresh PersistenceEntryManager: org.gluu.persist.ldap.impl.LdapEntryManager@40a5d5f9 2020-10-11 11:42:48,526 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:339) - Attempting to load entries from source server 2020-10-11 11:42:48,694 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:348) - Found '8' entries in source server 2020-10-11 11:42:48,695 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:352) - Found '8' unique entries in source server 2020-10-11 11:42:48,697 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:404) - Found '0' changed entries 2020-10-11 11:42:48,697 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:409) - Loaded '12' problem entries from problem file 2020-10-11 11:42:48,717 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!1749.BF49' java.lang.Exception: Duplicate UID value: 350103453 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,723 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!56A6.1540' java.lang.Exception: Duplicate UID value: 980501687 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,727 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!1B68.065E' java.lang.Exception: Duplicate UID value: 310003300 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,730 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!212C.68DE' java.lang.Exception: Duplicate UID value: 891102132 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,738 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!F235.CD2D' java.lang.Exception: Duplicate UID value: 590402536 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,744 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!BA57.F565' java.lang.Exception: Duplicate UID value: 940303493 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,757 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!7676.FC3B' java.lang.Exception: Duplicate UID value: 880909307 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,761 ERROR [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:735) - Failed to 'add' person '0000!5095.46AB' java.lang.Exception: Duplicate UID value: 610022199 at org.gluu.oxtrust.service.PersonService.addPerson(PersonService.java:114) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.PersonService$Proxy$_$$_WeldClientProxy.addPerson(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntryViaCopy(CacheRefreshTimer.java:731) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.updateTargetEntriesViaCopy(CacheRefreshTimer.java:609) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.detectChangedEntries(CacheRefreshTimer.java:419) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processImpl(CacheRefreshTimer.java:301) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.processInt(CacheRefreshTimer.java:200) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.processInt(Unknown Source) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer.process(CacheRefreshTimer.java:184) [classes/:?] at org.gluu.oxtrust.ldap.cache.service.CacheRefreshTimer$Proxy$_$$_WeldSubclass.process$$super(Unknown Source) [classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor615.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.4.Final.jar:3.1.4.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.2.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-11 11:42:48,763 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:423) - Updated '0' entries 2020-10-11 11:42:48,763 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:425) - Failed to update '12' entries 2020-10-11 11:42:48,763 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:468) - Removed '0' persons from target server 2020-10-11 11:42:48,764 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:485) - There are '8' entries before updating inum list 2020-10-11 11:42:48,764 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:489) - There are '8' entries after removal '0' entries 2020-10-11 11:42:48,764 INFO [Thread-413] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:493) - There are '8' entries after adding '0' entries

By Mohib Zico staff 11 Oct 2020 at 7:38 a.m. CDT

Mohib Zico gravatar
Ok, I think there are basic formula you need to understand on Cache refresh. - Cache Refresh _pull_ user's information from LDAP/AD backend. You already know that. LDAP/AD backend is _not_ Gluu Server's LDAP but some other organizational data source from where you are _pulling_ your user's information. - Your _backend_ LDAP or AD _might have_ duplicate entries because this type of practice wasn't enforced in old time. - When you run Cache Refresh, scenario will happen: - If you have two users with same UID ( i.e. "kamlesh" ), Gluu Server will _pull_ one user into Gluu's LDAP ( i.e. Couchbase or Gluu-OpenDJ ). Another user will be eliminiated and you will see the info that... "1 user can't import because duplicate entries". Duplicate entry does't mean... Gluu's datasource ( i.e. Couchbase or Gluu-OpenDJ ) has _two_ entries BUT your backend _tried_ to push two users with same UID. That's uniqueness. That's the basis of uniqueness.

By kamlesh sharma user 11 Oct 2020 at 7:46 a.m. CDT

kamlesh sharma gravatar
Hi, No, Im trying to test GLUU and setup a POC. Its my current test environment and has unique UIDs. There are no duplicate entries.

By kamlesh sharma user 11 Oct 2020 at 9:26 a.m. CDT

kamlesh sharma gravatar
Hi team, After removing the content of problem file "problem-inum-list.txt" cache refresh works for basic attributes cn, sn, uid. However, userpassword is not synched. Please can you share a sample script to sync userpassword, groups and groupmembership.

By Mohib Zico staff 12 Oct 2020 at 4:40 a.m. CDT

Mohib Zico gravatar
Closing this one. There is [another](https://support.gluu.org/cache-refresh/8963/cache-refresh-for-new-attributes/) ticket.