After a database migration, we had to reinstall the reporting tool, but now it wont enable, and gives the following in the confluence log:
2015-03-16 10:43:54,849 WARN [Timer-4] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=net.customware.confluence.plugin.reporting, config=osgibundle:/META-INF/spring/*.xml)] 2015-03-16 10:43:54,851 ERROR [Timer-4] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [net.customware.confluence.plugin.reporting], unsatisfied dependencies: Dependency on [(objectClass=org.randombits.supplier.core.SupplierAssistant)] (from bean [&supplierAssistant]) org.springframework.context.ApplicationContextException: Application context initialization for 'net.customware.confluence.plugin.reporting' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-03-16 10:43:54,852 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&supplierAssistant' for plugin 'net.customware.confluence.plugin.reporting' with filter (objectClass=org.randombits.supplier.core.SupplierAssistant) 2015-03-16 10:43:54,854 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin net.customware.confluence.plugin.reporting org.springframework.context.ApplicationContextException: Application context initialization for 'net.customware.confluence.plugin.reporting' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-03-16 10:43:54,854 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&supplierAssistant' for plugin 'net.customware.confluence.plugin.reporting' with filter (objectClass=org.randombits.supplier.core.SupplierAssistant) 2015-03-16 10:43:54,855 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin net.customware.confluence.plugin.reporting org.springframework.context.ApplicationContextException: Application context initialization for 'net.customware.confluence.plugin.reporting' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-03-16 10:43:54,855 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&supplierAssistant' for plugin 'net.customware.confluence.plugin.reporting' with filter (objectClass=org.randombits.supplier.core.SupplierAssistant) 2015-03-16 10:43:54,856 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin net.customware.confluence.plugin.reporting org.springframework.context.ApplicationContextException: Application context initialization for 'net.customware.confluence.plugin.reporting' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-03-16 10:43:54,857 ERROR [Timer-4] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=net.customware.confluence.plugin.reporting, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.context.ApplicationContextException: Application context initialization for 'net.customware.confluence.plugin.reporting' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-03-16 10:43:54,937 ERROR [http-bio-8090-exec-2282] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to start the following plugins due to timeout while waiting for plugin to enable: net.customware.confluence.plugin.reporting
We have tried different things, like downgrading to previous reporting version 4.3.6, but it won't enable.
We run Confluence version 5.5.6.
Thank you for any help!
Hi Cato,
I believe some plugin cache could be the cause here. Usually on cases like this, I recommend to clean the plugin cache and restore the plugin system to default. Note this will clean all plugins from Confluence (third party) and you must re-install them afterwards. Also, check if the version of the report plugin is compatible with the 5.5.6 Confluence in marketplace.
We'll need to remove all custom plugin and reset the plugin system:
1) Shutdown Confluence
2) Make a backup of the database
3) Remove The following folders:
a) <confluence-home>/bundled-plugins folder
b) <confluence-home>/plugin-cache folder
c) <confluence-home>/plugins-osgi-cache folder
d) <confluence-home>/plugins-temp folder
4) Run this query to remove all plugins from *PLUGINDATA*:delete from plugindata;
5) Perform a Select from BANDANA to see the state of plugins:select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';
6) Update this to '</map>':UPDATE BANDANA SET BANDANAVALUE='<map/>' WHERE BANDANAKEY='plugin.manager.state.Map';
7) This will Enable All plugin. (if you need any of these plugins to be disabled, please disable them later)
8) Restart Confluence
I hope this helps!
Cheers,
Rodrigo
Thanks, Deleting the file-system caches and restarting Confluence resolved this issue. Best regards, Kristoffer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad it helped :) Best regards, Rodrigo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.