-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.5.5
-
None
After installing one or more of the following plugins Confluence refused to load:
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
Stack trace was:
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
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.
- duplicates
-
CONFSERVER-21385 Plugin notifications fail after cache manager has been shut down, logging switches to NOPLoggerRepository
- Closed