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

Auto LDAP/Active Directory/Confluence synchronization receives error and terminates

    XMLWordPrintable

Details

    Description

      The LDAP directory is successfully entered into Confluence version 3.5.6. Confluence is restarted and initializes correctly with the LDAP\Active Directory. Confluence kicks off the automatic LDAP synchronization however logs the following error and terminates:

      2011-06-14 17:09:01,890 ERROR QuartzScheduler_Worker-5 http://atlassian.crowd.directory.DbCachingDirectoryPoller pollChanges Error occurred while refreshing the cache for directory 11796481 .
      com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.CommunicationException: simple bind failed: xxxroot.home:636; nested exception is javax.naming.CommunicationException: simple bind failed: xxxroot.home:636 Root exception is java.net.SocketException: Connection reset
      at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:352)
      at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:385)
      at com.atlassian.crowd.directory.MicrosoftActiveDirectory.findTombstonesSince(MicrosoftActiveDirectory.java:368)
      at com.atlassian.crowd.directory.MicrosoftActiveDirectory.findUserTombstonesSince(MicrosoftActiveDirectory.java:309)
      at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseUserChanges(UsnChangedCacheRefresher.java:293)
      at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseChanges(UsnChangedCacheRefresher.java:149)
      at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:639)
      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:14)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: org.springframework.ldap.CommunicationException: simple bind failed: xxxroot.home:636; nested exception is javax.naming.CommunicationException: simple bind failed: xxxroot.home:636 Root exception is java.net.SocketException: Connection reset
      at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:98)
      at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:319)
      at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237)
      at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:316)
      ... 13 more
      Caused by: javax.naming.CommunicationException: simple bind failed: xxxroot.home:636 Root exception is java.net.SocketException: Connection reset
      at com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:74)
      at com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:132)
      at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1838)
      at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749)
      at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
      at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:257)
      at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.ldap.transaction.compensating.manager.TransactionAwareDirContextInvocationHandler.invoke(TransactionAwareDirContextInvocationHandler.java:92)
      at $Proxy673.search(Unknown Source)
      at org.springframework.ldap.core.LdapTemplate$3.executeSearch(LdapTemplate.java:231)
      at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:293)
      ... 15 more
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
      at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:632)
      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:396)
      at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
      at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2694)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:134)
      at com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(ldapURLContextFactory.java:35)
      at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:584)
      at javax.naming.spi.NamingManager.processURL(NamingManager.java:364)
      at javax.naming.spi.NamingManager.processURLAddrs(NamingManager.java:344)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
      at com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:93)
      ... 28 more

      Attachments

        Activity

          People

            mseager Michael S
            ecd3ec88cab4 Gary Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: