Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-31468

Incremental sync to Crowd fails with Delegated Directory

XMLWordPrintable

      In a setup where Confluence has Crowd as a directory, and Crowd in turn connects to a delegated LDAP directory, incremental synchronisation fails between Confluence and Crowd and reverts to FULL synchronisation.

      However, if Crowd connects to a synching LDAP directory or to an internal Crowd directory, incremental synchronisation between Confluence and Crowd executes as expected.

      This error appears in the logs:

      2013-11-04 12:47:24,118 WARN [scheduler_Worker-9] [directory.ldap.cache.EventTokenChangedCacheRefresher] synchroniseAll Incremental synchronisation is not available. Falling back to full synchronisation
      com.atlassian.crowd.event.IncrementalSynchronisationNotAvailableException
      	at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCurrentEventToken(RestCrowdClient.java:1046)
      	at com.atlassian.crowd.directory.RemoteCrowdDirectory.getCurrentEventToken(RemoteCrowdDirectory.java:651)
      	at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:44)
      	at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:622)
      	at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:63)
      	at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50)
      	at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29)
      	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      	at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      

      Steps to Reproduce

      1. In Crowd, set up a Delegated LDAP directory for Confluence
      2. In Confluence, add that Crowd directory and enable incremental synchronisation
      3. Synchronise manually, or wait for it to occur
      4. Check logs for the error

              shaffenden Steve Haffenden (Inactive)
              f177c28744c8 Brian Tom
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: