Hi Team,
I am using atlassion jir 6.0.6 in windows server. It was working fine for many years.
Today we have restarted the windows server, and suddenly the application stopped working. could any one help on this.
Below is the log present in atlassian-jira.log:
2020-01-27 10:10:09,631 localhost-startStop-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler....
2020-01-27 10:10:09,725 localhost-startStop-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler started.
2020-01-27 10:10:09,834 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DbCachingRemoteDirectory] synchronisation for directory [ 10100 ] starting
2020-01-27 10:10:12,756 pool-19-thread-1 INFO [directory.ldap.cache.UsnChangedCacheRefresher] found [ 2179 ] remote users in [ 2906ms ]
2020-01-27 10:10:12,803 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanning [ 2179 ] users to add or update
2020-01-27 10:10:12,819 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] scanned and compared [ 2179 ] users for update in DB cache in [ 63ms ]
2020-01-27 10:10:12,819 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] synchronised [ 2179 ] users in [ 63ms ]
2020-01-27 10:10:12,850 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 2179 ] users for delete in DB cache in [ 31ms ]
2020-01-27 10:10:12,850 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned for deleted users in [ 31ms ]
2020-01-27 10:10:14,693 pool-19-thread-2 ERROR [springframework.ldap.control.AbstractRequestControlDirContextProcessor] No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl
2020-01-27 10:10:14,709 QuartzScheduler_Worker-1 INFO [atlassian.crowd.directory.DbCachingRemoteDirectory] failed synchronisation complete for directory [ 10100 ] in [ 4875ms ]
2020-01-27 10:10:14,818 QuartzScheduler_Worker-1 ERROR [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 10100 ].
com.atlassian.crowd.exception.OperationFailedException: java.util.concurrent.ExecutionException: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""]; remaining name 'DC=DMOPS,DC=COM'
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAllGroups(UsnChangedCacheRefresher.java:200)
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:82)
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:124)
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:644)
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.DirectoryPollerJob.execute(DirectoryPollerJob.java:34)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.util.concurrent.ExecutionException: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""]; remaining name 'DC=DMOPS,DC=COM'
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAllGroups(UsnChangedCacheRefresher.java:178)
... 8 more
Caused by: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""]; remaining name 'DC=DMOPS,DC=COM'
at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:422)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntities(SpringLDAPConnector.java:407)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchGroupObjectsOfSpecifiedGroupType(SpringLDAPConnector.java:1114)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchGroupObjects(SpringLDAPConnector.java:1150)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchGroups(SpringLDAPConnector.java:1181)
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher$2.call(UsnChangedCacheRefresher.java:113)
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher$2.call(UsnChangedCacheRefresher.java:108)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""]; remaining name 'DC=DMOPS,DC=COM'
at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:215)
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.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:92)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:89)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper.search(LdapTemplateWithClassLoaderWrapper.java:89)
at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:356)
... 12 more
Caused by: javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""]; remaining name 'DC=DMOPS,DC=COM'
at com.sun.jndi.ldap.LdapSearchEnumeration.createItem(Unknown Source)
at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(Unknown Source)
at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(Unknown Source)
at com.sun.jndi.ldap.LdapNamingEnumeration.next(Unknown Source)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:296)
Caused by: org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""
at org.springframework.ldap.core.DistinguishedName.parse(DistinguishedName.java:190)
at org.springframework.ldap.core.DistinguishedName.<init>(DistinguishedName.java:140)
at org.springframework.ldap.core.support.DefaultDirObjectFactory.constructAdapterFromName(DefaultDirObjectFactory.java:164)
at org.springframework.ldap.core.support.DefaultDirObjectFactory.getObjectInstance(DefaultDirObjectFactory.java:78)
at javax.naming.spi.DirectoryManager.createObjectFromFactories(Unknown Source)
... 23 more
Caused by: org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 28. Encountered: "\\" (92), after : ""
at org.springframework.ldap.core.DnParserImplTokenManager.getNextToken(DnParserImplTokenManager.java:690)
at org.springframework.ldap.core.DnParserImpl.jj_ntk(DnParserImpl.java:249)
at org.springframework.ldap.core.DnParserImpl.attributeTypeAndValue(DnParserImpl.java:98)
at org.springframework.ldap.core.DnParserImpl.rdn(DnParserImpl.java:58)
at org.springframework.ldap.core.DnParserImpl.dn(DnParserImpl.java:23)
... 28 more
2020-01-27 10:10:43,945 QuartzScheduler_Worker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Data export completed in 30626ms. Wrote 2275103 entities to export in memory.
2020-01-27 10:10:43,945 QuartzScheduler_Worker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup
2020-01-27 10:10:45,525 QuartzScheduler_Worker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Finished saving the Active Objects Backup
2020-01-27 10:10:49,531 Modification Check:thread-1 INFO [atlassian.jira.startup.JiraStartupLogger]
___ Modifications ___________________________
Modified Files : jira-application.properties, includes/loginform.jsp, templates/plugins/footer/footer.vm, com/atlassian/jira/web/action/JiraWebActionSupport.properties
Removed Files : None
Thanks,
Kalirajan