com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN)

Atlassian JIRA | Andriy Yakovlev [Atlassian] | 9 months ago
  1. 0

    h3. Summary After running a system Restore into a single JIRA DC node, {{com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore}} cache is failed to start. h3. Environment This is intermittent problem, it doesn't reproduce all the time. So far problem was observed only with Jira Datacenter. h3. Steps to Reproduce # Start nodes # Restore full backup. h3. Expected Results All works fine and JIRA node re-initialise itself after import and run re-index. h3. Actual Results JIRA node tries to re-initialise itself after import, during that step {{CachingOfBizPropertyEntryStore}} cache failed to start and JIRA doesn't run re-index at the end. The below exception is thrown in the atlassian-jira.log file: {code:borderStyle=solid} 2016-03-07 16:06:52,345 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 96% complete... 2016-03-07 16:06:52,346 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.webresource.flushcounter' from database. Using default 2016-03-07 16:06:52,347 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.webresource.flushcounter' from database. Using default 2016-03-07 16:06:52,350 JiraImportTaskExecutionThread-1 ERROR admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) at com.atlassian.cache.ehcache.DelegatingCache.remove(DelegatingCache.java:136) at com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.setEntry(CachingOfBizPropertyEntryStore.java:145) at com.atlassian.jira.propertyset.CachingOfBizPropertySet.setImpl(CachingOfBizPropertySet.java:195) at com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:502) at com.opensymphony.module.propertyset.AbstractPropertySet.setString(AbstractPropertySet.java:300) at com.atlassian.jira.config.properties.ApplicationPropertiesStore.setString(ApplicationPropertiesStore.java:237) at com.atlassian.jira.config.properties.ApplicationPropertiesImpl.setString(ApplicationPropertiesImpl.java:118) at com.atlassian.jira.config.properties.LookAndFeelBean.updateFlushCounter(LookAndFeelBean.java:109) at com.atlassian.jira.config.properties.LookAndFeelBean.updateVersion(LookAndFeelBean.java:147) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.updateLookAndFeel(DefaultDataImportService.java:891) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:808) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:332) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:177) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:148) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:3946) at net.sf.ehcache.Cache.checkStatus(Cache.java:2664) at net.sf.ehcache.Cache.removeInternal(Cache.java:2288) at net.sf.ehcache.Cache.remove(Cache.java:2207) at net.sf.ehcache.Cache.remove(Cache.java:2125) at com.atlassian.cache.ehcache.LoadingCache.remove(LoadingCache.java:205) at com.atlassian.cache.ehcache.DelegatingCache.remove(DelegatingCache.java:132) ... 21 more 2016-03-07 16:06:52,351 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.index.ha.DefaultIndexCopyService] Index backup started. Requesting node: ANY 2016-03-07 16:06:52,352 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.index.ha.DefaultIndexCopyService] Index backup failed - latest index operation not found. Requesting node: ANY 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [dvcs.dao.impl.CachingOrganizationDaoImpl] onImportCompleted - clearing cache !! 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished. {code} h3. Notes The result is that the indexing job did not kick off after importing the data. With that, the data has been successfully imported, but the index still needs updating. h3.Workaround # Restart node # Run Full re-index

    Atlassian JIRA | 9 months ago | Andriy Yakovlev [Atlassian]
    com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN)
  2. 0

    h3. Summary After running a system Restore into a single JIRA DC node, {{com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore}} cache is failed to start. h3. Environment This is intermittent problem, it doesn't reproduce all the time. So far problem was observed only with Jira Datacenter. h3. Steps to Reproduce # Start nodes # Restore full backup. h3. Expected Results All works fine and JIRA node re-initialise itself after import and run re-index. h3. Actual Results JIRA node tries to re-initialise itself after import, during that step {{CachingOfBizPropertyEntryStore}} cache failed to start and JIRA doesn't run re-index at the end. The below exception is thrown in the atlassian-jira.log file: {code:borderStyle=solid} 2016-03-07 16:06:52,345 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 96% complete... 2016-03-07 16:06:52,346 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.webresource.flushcounter' from database. Using default 2016-03-07 16:06:52,347 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.webresource.flushcounter' from database. Using default 2016-03-07 16:06:52,350 JiraImportTaskExecutionThread-1 ERROR admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) at com.atlassian.cache.ehcache.DelegatingCache.remove(DelegatingCache.java:136) at com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.setEntry(CachingOfBizPropertyEntryStore.java:145) at com.atlassian.jira.propertyset.CachingOfBizPropertySet.setImpl(CachingOfBizPropertySet.java:195) at com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:502) at com.opensymphony.module.propertyset.AbstractPropertySet.setString(AbstractPropertySet.java:300) at com.atlassian.jira.config.properties.ApplicationPropertiesStore.setString(ApplicationPropertiesStore.java:237) at com.atlassian.jira.config.properties.ApplicationPropertiesImpl.setString(ApplicationPropertiesImpl.java:118) at com.atlassian.jira.config.properties.LookAndFeelBean.updateFlushCounter(LookAndFeelBean.java:109) at com.atlassian.jira.config.properties.LookAndFeelBean.updateVersion(LookAndFeelBean.java:147) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.updateLookAndFeel(DefaultDataImportService.java:891) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:808) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:332) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:177) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:148) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN) at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:3946) at net.sf.ehcache.Cache.checkStatus(Cache.java:2664) at net.sf.ehcache.Cache.removeInternal(Cache.java:2288) at net.sf.ehcache.Cache.remove(Cache.java:2207) at net.sf.ehcache.Cache.remove(Cache.java:2125) at com.atlassian.cache.ehcache.LoadingCache.remove(LoadingCache.java:205) at com.atlassian.cache.ehcache.DelegatingCache.remove(DelegatingCache.java:132) ... 21 more 2016-03-07 16:06:52,351 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.index.ha.DefaultIndexCopyService] Index backup started. Requesting node: ANY 2016-03-07 16:06:52,352 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.index.ha.DefaultIndexCopyService] Index backup failed - latest index operation not found. Requesting node: ANY 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 WARN admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [dvcs.dao.impl.CachingOrganizationDaoImpl] onImportCompleted - clearing cache !! 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2016-03-07 16:06:52,354 JiraImportTaskExecutionThread-1 INFO admin 934x1687x1 8hen3m 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished. {code} h3. Notes The result is that the indexing job did not kick off after importing the data. With that, the data has been successfully imported, but the index still needs updating. h3.Workaround # Restart node # Run Full re-index

    Atlassian JIRA | 9 months ago | Andriy Yakovlev [Atlassian]
    com.atlassian.cache.CacheException: java.lang.IllegalStateException: The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN)
  3. 0

    Gerrit 2.0.23 Unexpected Restart

    Google Groups | 7 years ago | Nicholas Mucci
    java.lang.IllegalStateException: The groups Cache is not alive.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 78#19207305

    GitHub | 4 years ago | sojin
    java.lang.IllegalStateException: The play Cache is not alive (STATUS_SHUTDOWN)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.entries Cache is not alive (STATUS_SHUTDOWN)

      at net.sf.ehcache.Cache$CacheStatus.checkAlive()
    2. Ehcache
      Cache.remove
      1. net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:3946)
      2. net.sf.ehcache.Cache.checkStatus(Cache.java:2664)
      3. net.sf.ehcache.Cache.removeInternal(Cache.java:2288)
      4. net.sf.ehcache.Cache.remove(Cache.java:2207)
      5. net.sf.ehcache.Cache.remove(Cache.java:2125)
      5 frames
    3. com.atlassian.cache
      DelegatingCache.remove
      1. com.atlassian.cache.ehcache.LoadingCache.remove(LoadingCache.java:205)
      2. com.atlassian.cache.ehcache.DelegatingCache.remove(DelegatingCache.java:132)
      2 frames
    4. com.atlassian.jira
      CachingOfBizPropertySet.setImpl
      1. com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.setEntry(CachingOfBizPropertyEntryStore.java:145)
      2. com.atlassian.jira.propertyset.CachingOfBizPropertySet.setImpl(CachingOfBizPropertySet.java:195)
      2 frames
    5. com.opensymphony.module
      AbstractPropertySet.setString
      1. com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:502)
      2. com.opensymphony.module.propertyset.AbstractPropertySet.setString(AbstractPropertySet.java:300)
      2 frames
    6. com.atlassian.jira
      ImportTaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.config.properties.ApplicationPropertiesStore.setString(ApplicationPropertiesStore.java:237)
      2. com.atlassian.jira.config.properties.ApplicationPropertiesImpl.setString(ApplicationPropertiesImpl.java:118)
      3. com.atlassian.jira.config.properties.LookAndFeelBean.updateFlushCounter(LookAndFeelBean.java:109)
      4. com.atlassian.jira.config.properties.LookAndFeelBean.updateVersion(LookAndFeelBean.java:147)
      5. com.atlassian.jira.bc.dataimport.DefaultDataImportService.updateLookAndFeel(DefaultDataImportService.java:891)
      6. com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:808)
      7. com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:332)
      8. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65)
      9. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28)
      10. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:177)
      11. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:148)
      11 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames