Can't enable Reporting plugin

Cato Jensen March 15, 2015

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

1 vote
Answer accepted
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2015

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

Cato Jensen March 17, 2015

Thanks, Deleting the file-system caches and restarting Confluence resolved this issue. Best regards, Kristoffer

Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 17, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events