AnsweredAssumed Answered

LDAP-AD Sync Thread not finishing

Question asked by cesarista on May 30, 2014
Latest reply on May 30, 2014 by cesarista
I got this problem when syncing users and groups from AD.
The differential sync is not working cause there exist a running thread (that is not finishing properly) - It appears in fact in 4.2 admin console Sync IN_PROGRESS (but not progressing)

From the catalina.out I can see this:

<pre>
2014-05-30 00:00:00,023  DEBUG [security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-1]
Running a differential sync.
2014-05-30 00:00:00,024  DEBUG [security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-1]
deletions are allowed
2014-05-30 00:00:00,051  WARN  [security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-1]
User registry synchronization already running in another thread. Synchronize aborted
<pre>

Some questions:
- How many time does this type of thread live ?
- Is there any way of killing (safely) the old thread for executing a new differential sync from JMX ? Is it possible from the command line ?
- Does a service restart solve the problem ?
- Any idea ?

I am using Alfresco 4.2.1.

Thanks in advance.

–C.

Outcomes