com.atlassian.crowd.event.IncrementalSynchronisationNotAvailableException

Atlassian JIRA | Brian Tom | 3 years ago
  1. 0

    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: {code} 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) {code} *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

    Atlassian JIRA | 3 years ago | Brian Tom
    com.atlassian.crowd.event.IncrementalSynchronisationNotAvailableException
  2. 0

    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: {code} 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) {code} *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

    Atlassian JIRA | 3 years ago | Brian Tom
    com.atlassian.crowd.event.IncrementalSynchronisationNotAvailableException

    Root Cause Analysis

    1. com.atlassian.crowd.event.IncrementalSynchronisationNotAvailableException

      No message provided

      at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCurrentEventToken()
    2. com.atlassian.crowd
      DirectoryPollerJobBean.executeInternal
      1. com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCurrentEventToken(RestCrowdClient.java:1046)
      2. com.atlassian.crowd.directory.RemoteCrowdDirectory.getCurrentEventToken(RemoteCrowdDirectory.java:651)
      3. com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:44)
      4. com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:622)
      5. com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:63)
      6. com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50)
      7. com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29)
      7 frames
    3. Spring Context Support
      QuartzJobBean.execute
      1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      1 frame
    4. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      1 frame
    5. com.atlassian.confluence
      ConfluenceQuartzThreadPool$1.run
      1. com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20)
      1 frame
    6. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      1 frame