Can't enable Reporting plugin

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!

1 answer

1 accepted

This widget could not be displayed.

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='&lt;map/&gt;' 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

I'm glad it helped :) Best regards, Rodrigo

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

137 views 12 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you