java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used.

Atlassian JIRA | Michael Seager [Atlassian] | 6 years ago
  1. 0

    After installing one or more of the following plugins Confluence refused to load: {quote} Google Maps Plugin 0.7.1 IM Presence NG Plugin 2.7 Page History Slider 1.2.1 Reporting Plugin 3.4.2 Survey Macros 1.1.8.8 Table Plugin 4.2.0 {quote} Stack trace was: {noformat} 2011-06-07 15:44:38,598 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.5.5 (build #2160) 2011-06-07 15:44:45,964 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2011-06-07 15:44:46,521 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.555 2011-06-07 15:44:49,444 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started 2011-06-07 15:44:58,794 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager 2011-06-07 15:45:53,681 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 64229 ms 2011-06-07 15:45:54,736 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2011-06-07 15:45:54,969 WARN [main] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'bucket*' 2011-06-07 15:45:57,827 WARN [main] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'org/xml' 2011-06-07 15:46:49,090 WARN [Spring executor 5] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot include disabled web resource module: com.atlassian.gadgets.publisher:ajs-gadgets 2011-06-07 15:46:52,752 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: features/atlassian/util/atlassian.util.opt.js 2011-06-07 15:46:52,757 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js 2011-06-07 15:46:52,758 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: com/google/caja/plugin/html-sanitizer-minified.js 2011-06-07 15:47:01,048 WARN [main] [atlassian.confluence.renderer.DefaultMacroManager] registerMacro Unregistering existing macro 'code' (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) to replace with macro with same name (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) 2011-06-07 15:47:01,728 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead. 2011-06-07 15:47:03,840 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.atlassian.confluence.ext.newcode-macro-plugin': []. Disabling... 2011-06-07 15:47:03,842 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'com.atlassian.confluence.ext.newcode-macro-plugin' to 'com.atlassian.confluence.ext.newcode-macro-plugin' 2011-06-07 15:47:03,842 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.atlassian.confluence.ext.newcode-macro-plugin 2011-06-07 15:47:04,971 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin': []. Disabling... 2011-06-07 15:47:05,156 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' to 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' 2011-06-07 15:47:05,158 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.atlassian.upm.atlassian-universal-plugin-manager-plugin 2011-06-07 15:47:05,836 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'confluence.extra.impresence2': []. Disabling... 2011-06-07 15:47:05,836 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'confluence.extra.impresence2:2.6' to 'confluence.extra.impresence2:2.7' 2011-06-07 15:47:05,837 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling confluence.extra.impresence2 2011-06-07 15:47:08,543 WARN [main] [atlassian.confluence.renderer.DefaultMacroManager] registerMacro Unregistering existing macro 'code' (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) to replace with macro with same name (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) 2011-06-07 15:47:08,570 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:01:13.834 2011-06-07 15:47:13,229 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve 2011-06-07 15:48:25,788 INFO [Thread-29] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system 2011-06-07 15:48:26,010 ERROR [Timer-4] [atlassian.event.internal.EventPublisherImpl] invokeListeners There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginModuleUnavailableEvent@4c4fb2c0' from the invoker 'com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1@907f8ba'. java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used. at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:67) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.removedService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:140) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:865) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726) at org.apache.felix.framework.Felix.access$000(Felix.java:80) at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717) at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135) at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129) at org.springframework.osgi.service.exporter.support.internal.support.ServiceRegistrationDecorator.unregister(ServiceRegistrationDecorator.java:65) at org.springframework.osgi.util.OsgiServiceUtils.unregisterService(OsgiServiceUtils.java:41) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:372) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:362) at org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter.destroy(AbstractOsgiServiceExporter.java:84) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1.run(ContextLoaderListener.java:522) at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60) at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:49) ... 43 more Caused by: java.lang.IllegalStateException: The CacheManager has been shut down. It can no longer be used. at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:827) at net.sf.ehcache.CacheManager.getCache(CacheManager.java:536) at com.atlassian.confluence.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:68) at com.atlassian.confluence.cache.TransactionalCacheFactory.getCache(TransactionalCacheFactory.java:63) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.getCache(ConfluenceCachingBandanaPersister.java:41) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:54) at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32) at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24) at com.atlassian.confluence.plugin.BandanaPluginStateStore.load(BandanaPluginStateStore.java:29) at com.atlassian.plugin.manager.DefaultPluginManager.getBuilder(DefaultPluginManager.java:1530) at com.atlassian.plugin.manager.DefaultPluginManager.disablePluginModuleState(DefaultPluginManager.java:1365) at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleDisabled(ConfluencePluginManager.java:103) at com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleUnavailable(DefaultPluginManager.java:251) ... 48 more {noformat} Removing the plugins from the database and clearing the plugin cache and temp folders had no effect. Server had to be wiped and installed from scratch. Plugins may not have been at fault, but this was the only significant action before the crash.

    Atlassian JIRA | 6 years ago | Michael Seager [Atlassian]
    java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used.
  2. 0

    After installing one or more of the following plugins Confluence refused to load: {quote} Google Maps Plugin 0.7.1 IM Presence NG Plugin 2.7 Page History Slider 1.2.1 Reporting Plugin 3.4.2 Survey Macros 1.1.8.8 Table Plugin 4.2.0 {quote} Stack trace was: {noformat} 2011-06-07 15:44:38,598 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.5.5 (build #2160) 2011-06-07 15:44:45,964 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2011-06-07 15:44:46,521 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.555 2011-06-07 15:44:49,444 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started 2011-06-07 15:44:58,794 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager 2011-06-07 15:45:53,681 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 64229 ms 2011-06-07 15:45:54,736 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2011-06-07 15:45:54,969 WARN [main] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'bucket*' 2011-06-07 15:45:57,827 WARN [main] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'org/xml' 2011-06-07 15:46:49,090 WARN [Spring executor 5] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot include disabled web resource module: com.atlassian.gadgets.publisher:ajs-gadgets 2011-06-07 15:46:52,752 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: features/atlassian/util/atlassian.util.opt.js 2011-06-07 15:46:52,757 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js 2011-06-07 15:46:52,758 WARN [Spring executor 10] [org.apache.shindig.gadgets] loadResource Could not find resource: com/google/caja/plugin/html-sanitizer-minified.js 2011-06-07 15:47:01,048 WARN [main] [atlassian.confluence.renderer.DefaultMacroManager] registerMacro Unregistering existing macro 'code' (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) to replace with macro with same name (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) 2011-06-07 15:47:01,728 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead. 2011-06-07 15:47:03,840 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.atlassian.confluence.ext.newcode-macro-plugin': []. Disabling... 2011-06-07 15:47:03,842 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'com.atlassian.confluence.ext.newcode-macro-plugin' to 'com.atlassian.confluence.ext.newcode-macro-plugin' 2011-06-07 15:47:03,842 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.atlassian.confluence.ext.newcode-macro-plugin 2011-06-07 15:47:04,971 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin': []. Disabling... 2011-06-07 15:47:05,156 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' to 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' 2011-06-07 15:47:05,158 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.atlassian.upm.atlassian-universal-plugin-manager-plugin 2011-06-07 15:47:05,836 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'confluence.extra.impresence2': []. Disabling... 2011-06-07 15:47:05,836 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] updatePlugin Updating plugin 'confluence.extra.impresence2:2.6' to 'confluence.extra.impresence2:2.7' 2011-06-07 15:47:05,837 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling confluence.extra.impresence2 2011-06-07 15:47:08,543 WARN [main] [atlassian.confluence.renderer.DefaultMacroManager] registerMacro Unregistering existing macro 'code' (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) to replace with macro with same name (LazyLoadedMacroDecorator{name=com.atlassian.confluence.ext.newcode-macro-plugin:code}) 2011-06-07 15:47:08,570 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:01:13.834 2011-06-07 15:47:13,229 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve 2011-06-07 15:48:25,788 INFO [Thread-29] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system 2011-06-07 15:48:26,010 ERROR [Timer-4] [atlassian.event.internal.EventPublisherImpl] invokeListeners There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginModuleUnavailableEvent@4c4fb2c0' from the invoker 'com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1@907f8ba'. java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used. at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:67) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.removedService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:140) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:865) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726) at org.apache.felix.framework.Felix.access$000(Felix.java:80) at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717) at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135) at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129) at org.springframework.osgi.service.exporter.support.internal.support.ServiceRegistrationDecorator.unregister(ServiceRegistrationDecorator.java:65) at org.springframework.osgi.util.OsgiServiceUtils.unregisterService(OsgiServiceUtils.java:41) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:372) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:362) at org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter.destroy(AbstractOsgiServiceExporter.java:84) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1.run(ContextLoaderListener.java:522) at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60) at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:49) ... 43 more Caused by: java.lang.IllegalStateException: The CacheManager has been shut down. It can no longer be used. at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:827) at net.sf.ehcache.CacheManager.getCache(CacheManager.java:536) at com.atlassian.confluence.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:68) at com.atlassian.confluence.cache.TransactionalCacheFactory.getCache(TransactionalCacheFactory.java:63) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.getCache(ConfluenceCachingBandanaPersister.java:41) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:54) at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32) at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24) at com.atlassian.confluence.plugin.BandanaPluginStateStore.load(BandanaPluginStateStore.java:29) at com.atlassian.plugin.manager.DefaultPluginManager.getBuilder(DefaultPluginManager.java:1530) at com.atlassian.plugin.manager.DefaultPluginManager.disablePluginModuleState(DefaultPluginManager.java:1365) at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleDisabled(ConfluencePluginManager.java:103) at com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleUnavailable(DefaultPluginManager.java:251) ... 48 more {noformat} Removing the plugins from the database and clearing the plugin cache and temp folders had no effect. Server had to be wiped and installed from scratch. Plugins may not have been at fault, but this was the only significant action before the crash.

    Atlassian JIRA | 6 years ago | Michael Seager [Atlassian]
    java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [CONF-21385] Plugin notifications fail after cache manager has been shut down, logging switches to NOPLoggerRepository - Atlassian JIRA

    atlassian.com | 1 year ago
    com.atlassian.plugin.event.NotificationException: java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used.
  5. 0

    [CONF-20632] CacheManager Critical Errors during Confluence Shutdown - Atlassian JIRA

    atlassian.com | 11 months ago
    com.atlassian.plugin.event.NotificationException: java.lang.RuntimeException: The CacheManager has been shut down. It can no longer be used.

    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 CacheManager has been shut down. It can no longer be used.

      at net.sf.ehcache.CacheManager.checkStatus()
    2. Ehcache
      CacheManager.getCache
      1. net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:827)
      2. net.sf.ehcache.CacheManager.getCache(CacheManager.java:536)
      2 frames
    3. com.atlassian.confluence
      ConfluenceCachingBandanaPersister.retrieve
      1. com.atlassian.confluence.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:68)
      2. com.atlassian.confluence.cache.TransactionalCacheFactory.getCache(TransactionalCacheFactory.java:63)
      3. com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.getCache(ConfluenceCachingBandanaPersister.java:41)
      4. com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:54)
      4 frames
    4. com.atlassian.bandana
      DefaultBandanaManager.getValue
      1. com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
      2. com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
      2 frames
    5. com.atlassian.confluence
      BandanaPluginStateStore.load
      1. com.atlassian.confluence.plugin.BandanaPluginStateStore.load(BandanaPluginStateStore.java:29)
      1 frame
    6. com.atlassian.plugin
      DefaultPluginManager.disablePluginModuleState
      1. com.atlassian.plugin.manager.DefaultPluginManager.getBuilder(DefaultPluginManager.java:1530)
      2. com.atlassian.plugin.manager.DefaultPluginManager.disablePluginModuleState(DefaultPluginManager.java:1365)
      2 frames
    7. com.atlassian.confluence
      ConfluencePluginManager.notifyModuleDisabled
      1. com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleDisabled(ConfluencePluginManager.java:103)
      1 frame
    8. com.atlassian.plugin
      DefaultPluginManager.onPluginModuleUnavailable
      1. com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleUnavailable(DefaultPluginManager.java:251)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. com.atlassian.plugin
      MethodSelectorListenerHandler$1$1.invoke
      1. com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:49)
      1 frame
    11. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      4. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      5. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      5 frames
    12. com.atlassian.plugin
      UnrecognizedModuleDescriptorServiceTrackerCustomizer.removedService
      1. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)
      2. com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.removedService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:140)
      2 frames
    13. OSGi
      ServiceTracker$Tracked.serviceChanged
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922)
      2. org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351)
      3. org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:865)
      3 frames
    14. Apache Felix Framework
      ServiceRegistrationImpl.unregister
      1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
      3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
      4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726)
      5. org.apache.felix.framework.Felix.access$000(Felix.java:80)
      6. org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
      7. org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
      8. org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
      8 frames
    15. Spring OSGi Core
      AbstractOsgiServiceExporter.destroy
      1. org.springframework.osgi.service.exporter.support.internal.support.ServiceRegistrationDecorator.unregister(ServiceRegistrationDecorator.java:65)
      2. org.springframework.osgi.util.OsgiServiceUtils.unregisterService(OsgiServiceUtils.java:41)
      3. org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:372)
      4. org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:362)
      5. org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter.destroy(AbstractOsgiServiceExporter.java:84)
      5 frames
    16. Spring Beans
      DefaultSingletonBeanRegistry.destroySingletons
      1. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)
      2. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)
      4. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)
      4 frames
    17. Spring Context
      AbstractApplicationContext.destroyBeans
      1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)
      1 frame
    18. Spring OSGi Core
      AbstractOsgiBundleApplicationContext.destroyBeans
      1. org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)
      1 frame
    19. Spring Context
      AbstractApplicationContext.doClose
      1. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)
      1 frame
    20. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.normalClose
      1. org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
      2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
      3. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
      4. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
      5. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
      5 frames
    21. org.springframework.osgi
      DependencyWaiterApplicationContextExecutor.close
      1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)
      1 frame
    22. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.doClose
      1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
      1 frame
    23. Spring Context
      AbstractApplicationContext.close
      1. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
      1 frame
    24. org.springframework.osgi
      RunnableTimedExecution$MonitoredRunnable.run
      1. org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1.run(ContextLoaderListener.java:522)
      2. org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
      2 frames
    25. Spring Context
      DelegatingTimerTask.run
      1. org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
      1 frame
    26. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames