Confluence wont start - Plugins not loading Waiting for ActiveObjectConfiguration
Asked by Shek Singhal:

---------------------------------------------------------------

getConfiguration Didn't find any configuration service for bundle nor any entities scanning for default AO packages.

---------------------------------------------------------------

Anyone know why this may be happening?

From the logs - it seemed to have started when Confluence tried to update its plugins - and then perhaps the web host (Amazon EC2) restarted itself for a maintenance window.

I have tried clearing the folders in \<HOME\> - bundled-plugins, plugins-cache, plugins-osgi-cache, plugins-temp.

I have also tried clearing the /work folder in the confluence applicaiton directory. Still same error - Confluence will not start.

I have also tried removing all the entries from PLUGINDATA table in the DB - same thing. And increasing the timeout via the instructions on this article - [](https://confluence.atlassian.com/display/CONFKB/Plugins+are+Disabled+at+Startup+and+Various+Timeout+Errors+Appear+in+the+Logs+After+Startup)<https://confluence.atlassian.com/display/CONFKB/Plugins+are+Disabled+at+Startup+and+Various+Timeout+Errors+Appear+in+the+Logs+After+Startup>- nothing makes a difference.

```
---------------------------------------------------------------2013-12-27 11:46:29,353 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.3-OD-11 [build 4711 based on commit hash a7a74ab3804baf1c0506f06ffc97ef485331e8f7]2013-12-27 11:46:40,112 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started2013-12-27 11:47:32,188 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.3-OD-11 [build 4711 based on commit hash a7a74ab3804baf1c0506f06ffc97ef485331e8f7]2013-12-27 11:47:42,460 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started2013-12-27 11:47:55,901 INFO [main] [com.atlassian.confluence.lifecycle] &lt;init&gt; Loading EhCache cache manager2013-12-27 11:48:46,550 WARN [main] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!2013-12-27 11:49:16,019 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 93558 ms2013-12-27 11:49:18,624 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system2013-12-27 11:50:32,388 WARN [main] [factory.transform.stage.ScanDescriptorForHostClassesStage] execute The plugin 'atlassian-universal-plugin-manager-plugin-2.13.3.jar' uses a package 'org.apache.commons.fileupload.servlet' that is also exported by the application.  It is highly recommended that the plugin use its own packages.2013-12-27 11:52:40,621 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.recently-viewed-plugin [102].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:52:40,624 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.recently-viewed-plugin nor any entities scanning for default AO packages.2013-12-27 11:52:40,626 WARN [ListenableFutureAdapter-thread-0] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.recently-viewed-plugin [102]2013-12-27 11:53:10,626 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-healthcheck-plugin [60].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:53:10,627 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-healthcheck-plugin nor any entities scanning for default AO packages.2013-12-27 11:53:10,628 WARN [ListenableFutureAdapter-thread-1] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-healthcheck-plugin [60]2013-12-27 11:53:40,628 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-feature-discovery-plugin [59].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:53:40,629 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-feature-discovery-plugin nor any entities scanning for default AO packages.2013-12-27 11:53:40,630 WARN [ListenableFutureAdapter-thread-2] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-feature-discovery-plugin [59]2013-12-27 11:54:10,630 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-space-ia [88].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:54:10,631 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-space-ia nor any entities scanning for default AO packages.2013-12-27 11:54:10,653 WARN [ListenableFutureAdapter-thread-3] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-space-ia [88]2013-12-27 11:54:40,653 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-create-content-plugin [47].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:54:40,654 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-create-content-plugin nor any entities scanning for default AO packages.2013-12-27 11:54:40,655 WARN [ListenableFutureAdapter-thread-4] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-create-content-plugin [47]2013-12-27 11:55:10,655 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.plugins.atlassian-whitelist-api-plugin [137].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:55:10,656 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.plugins.atlassian-whitelist-api-plugin nor any entities scanning for default AO packages.2013-12-27 11:55:10,657 WARN [ListenableFutureAdapter-thread-5] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.plugins.atlassian-whitelist-api-plugin [137]2013-12-27 11:55:40,657 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.plugins.atlassian-nav-links-plugin [135].To avoid this warning add an ao configuration module to your plugin2013-12-27 11:55:40,659 WARN [active-objects-ddl-0] [atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl] getConfiguration Didn't find any configuration service for bundle com.atlassian.plugins.atlassian-nav-links-plugin nor any entities scanning for default AO packages.2013-12-27 11:55:40,659 WARN [ListenableFutureAdapter-thread-6] [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.plugins.atlassian-nav-links-plugin [135]2013-12-27 11:56:45,851 WARN [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.gadgets, config=osgibundle:/META-INF/spring/*.xml)]2013-12-27 11:56:45,854 ERROR [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.confluence.plugins.gadgets], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)] (from bean [&amp;gadgetSpecUrlChecker]), Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&amp;gadgetSpecFactory]), Dependency on [(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)] (from bean [&amp;gadgetViewFactory]), Dependency on [(objectClass=com.atlassian.gadgets.feed.GadgetFeedReaderFactory)] (from bean [&amp;gadgetFeedReaderFactory]), Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&amp;gadgetRequestContextFactory])org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' has timed outat 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)2013-12-27 11:56:45,856 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetSpecUrlChecker' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)2013-12-27 11:56:45,856 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetSpecFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)2013-12-27 11:56:45,857 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetViewFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)2013-12-27 11:56:45,857 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetFeedReaderFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.feed.GadgetFeedReaderFactory)2013-12-27 11:56:45,858 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetRequestContextFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)2013-12-27 11:56:45,858 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.confluence.plugins.gadgetsorg.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' has timed outat 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)2013-12-27 11:56:45,859 ERROR [Timer-7] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.gadgets, config=osgibundle:/META-INF/spring/*.xml))org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' has timed outat 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)2013-12-27 11:56:48,143 WARN [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/*.xml)]2013-12-27 11:56:48,144 ERROR [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.gadgets.directory], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&amp;gadgetRequestContextFactory])org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' has timed outat 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)2013-12-27 11:56:48,146 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.directory' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)2013-12-27 11:56:48,146 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.directoryorg.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' has timed outat 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)2013-12-27 11:56:48,147 ERROR [Timer-7] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/*.xml))org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' has timed outat 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)2013-12-27 11:56:48,247 WARN [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/*.xml)]2013-12-27 11:56:48,248 ERROR [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.gadgets.embedded], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)] (from bean [&amp;securityTokenFactory]), Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&amp;gadgetSpecFactory])org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed outat 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)2013-12-27 11:56:48,249 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;securityTokenFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)2013-12-27 11:56:48,249 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetSpecFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)2013-12-27 11:56:48,250 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.embeddedorg.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed outat 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)2013-12-27 11:56:48,250 ERROR [Timer-7] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/*.xml))org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed outat 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)2013-12-27 11:56:48,479 WARN [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/*.xml)]2013-12-27 11:56:48,480 ERROR [Timer-7] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.gadgets.oauth.serviceprovider], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&amp;gadgetSpecFactory]), Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&amp;gadgetRequestContextFactory])org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed outat 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)2013-12-27 11:56:48,480 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetSpecFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)2013-12-27 11:56:48,501 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&amp;gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)2013-12-27 11:56:48,502 ERROR [Timer-7] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.oauth.serviceproviderorg.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed outat 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)2013-12-27 11:56:48,502 ERROR [Timer-7] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/*.xml))org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed outat 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)
```

---------------------------------------------------------------

2013-12-27 11:46:29,353 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 5.3-OD-11 \[build 4711 based on commit hash a7a74ab3804baf1c0506f06ffc97ef485331e8f7\]

2013-12-27 11:46:40,112 INFO \[main\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started

2013-12-27 11:47:32,188 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 5.3-OD-11 \[build 4711 based on commit hash a7a74ab3804baf1c0506f06ffc97ef485331e8f7\]

2013-12-27 11:47:42,460 INFO \[main\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started

2013-12-27 11:47:55,901 INFO \[main\] \[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager

2013-12-27 11:48:46,550 WARN \[main\] \[org.springframework.beans.TypeConverterDelegate\] findDefaultEditor PropertyEditor \[com.sun.beans.editors.EnumEditor\] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

2013-12-27 11:49:16,019 INFO \[main\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization completed in 93558 ms

2013-12-27 11:49:18,624 INFO \[main\] \[atlassian.plugin.manager.DefaultPluginManager\] init Initialising the plugin system

2013-12-27 11:50:32,388 WARN \[main\] \[factory.transform.stage.ScanDescriptorForHostClassesStage\] execute The plugin 'atlassian-universal-plugin-manager-plugin-2.13.3.jar' uses a package 'org.apache.commons.fileupload.servlet' that is also exported by the application. It is highly recommended that the plugin use its own packages.

2013-12-27 11:52:40,621 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.recently-viewed-plugin \[102\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:52:40,624 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.recently-viewed-plugin nor any entities scanning for default AO packages.

2013-12-27 11:52:40,626 WARN \[ListenableFutureAdapter-thread-0\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.recently-viewed-plugin \[102\]

2013-12-27 11:53:10,626 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-healthcheck-plugin \[60\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:53:10,627 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-healthcheck-plugin nor any entities scanning for default AO packages.

2013-12-27 11:53:10,628 WARN \[ListenableFutureAdapter-thread-1\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-healthcheck-plugin \[60\]

2013-12-27 11:53:40,628 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-feature-discovery-plugin \[59\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:53:40,629 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-feature-discovery-plugin nor any entities scanning for default AO packages.

2013-12-27 11:53:40,630 WARN \[ListenableFutureAdapter-thread-2\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-feature-discovery-plugin \[59\]

2013-12-27 11:54:10,630 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-space-ia \[88\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:54:10,631 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-space-ia nor any entities scanning for default AO packages.

2013-12-27 11:54:10,653 WARN \[ListenableFutureAdapter-thread-3\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-space-ia \[88\]

2013-12-27 11:54:40,653 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.confluence.plugins.confluence-create-content-plugin \[47\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:54:40,654 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.confluence.plugins.confluence-create-content-plugin nor any entities scanning for default AO packages.

2013-12-27 11:54:40,655 WARN \[ListenableFutureAdapter-thread-4\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.confluence.plugins.confluence-create-content-plugin \[47\]

2013-12-27 11:55:10,655 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.plugins.atlassian-whitelist-api-plugin \[137\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:55:10,656 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.plugins.atlassian-whitelist-api-plugin nor any entities scanning for default AO packages.

2013-12-27 11:55:10,657 WARN \[ListenableFutureAdapter-thread-5\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.plugins.atlassian-whitelist-api-plugin \[137\]

2013-12-27 11:55:40,657 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getAndWait Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : com.atlassian.plugins.atlassian-nav-links-plugin \[135\].

To avoid this warning add an ao configuration module to your plugin

2013-12-27 11:55:40,659 WARN \[active-objects-ddl-0\] \[atlassian.activeobjects.osgi.AOConfigurationServiceProviderImpl\] getConfiguration Didn't find any configuration service for bundle com.atlassian.plugins.atlassian-nav-links-plugin nor any entities scanning for default AO packages.

2013-12-27 11:55:40,659 WARN \[ListenableFutureAdapter-thread-6\] \[atlassian.activeobjects.osgi.ActiveObjectsServiceFactory\] apply Resubmitting AO bundle with longer timeout 180000 ms for bundle : com.atlassian.plugins.atlassian-nav-links-plugin \[135\]

2013-12-27 11:56:45,851 WARN \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] timeout Timeout occurred before finding service dependencies for \[NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.gadgets, config=osgibundle:/META-INF/spring/\*.xml)\]

2013-12-27 11:56:45,854 ERROR \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] fail Unable to create application context for \[com.atlassian.confluence.plugins.gadgets\], unsatisfied dependencies: Dependency on \[(objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)\] (from bean \[\&gadgetSpecUrlChecker\]), Dependency on \[(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)\] (from bean \[\&gadgetSpecFactory\]), Dependency on \[(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)\] (from bean \[\&gadgetViewFactory\]), Dependency on \[(objectClass=com.atlassian.gadgets.feed.GadgetFeedReaderFactory)\] (from bean \[\&gadgetFeedReaderFactory\]), Dependency on \[(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)\] (from bean \[\&gadgetRequestContextFactory\])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' 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)

2013-12-27 11:56:45,856 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetSpecUrlChecker' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)

2013-12-27 11:56:45,856 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetSpecFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)

2013-12-27 11:56:45,857 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetViewFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)

2013-12-27 11:56:45,857 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetFeedReaderFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.feed.GadgetFeedReaderFactory)

2013-12-27 11:56:45,858 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetRequestContextFactory' for plugin 'com.atlassian.confluence.plugins.gadgets' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)

2013-12-27 11:56:45,858 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.confluence.plugins.gadgets

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' 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)

2013-12-27 11:56:45,859 ERROR \[Timer-7\] \[extender.internal.activator.ContextLoaderListener\] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.gadgets, config=osgibundle:/META-INF/spring/\*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.gadgets' 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)

2013-12-27 11:56:48,143 WARN \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] timeout Timeout occurred before finding service dependencies for \[NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/\*.xml)\]

2013-12-27 11:56:48,144 ERROR \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] fail Unable to create application context for \[com.atlassian.gadgets.directory\], unsatisfied dependencies: Dependency on \[(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)\] (from bean \[\&gadgetRequestContextFactory\])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' 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)

2013-12-27 11:56:48,146 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.directory' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)

2013-12-27 11:56:48,146 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.directory

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' 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)

2013-12-27 11:56:48,147 ERROR \[Timer-7\] \[extender.internal.activator.ContextLoaderListener\] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/\*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.directory' 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)

2013-12-27 11:56:48,247 WARN \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] timeout Timeout occurred before finding service dependencies for \[NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/\*.xml)\]

2013-12-27 11:56:48,248 ERROR \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] fail Unable to create application context for \[com.atlassian.gadgets.embedded\], unsatisfied dependencies: Dependency on \[(objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)\] (from bean \[\&securityTokenFactory\]), Dependency on \[(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)\] (from bean \[\&gadgetSpecFactory\])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' 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)

2013-12-27 11:56:48,249 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&securityTokenFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)

2013-12-27 11:56:48,249 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)

2013-12-27 11:56:48,250 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.embedded

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' 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)

2013-12-27 11:56:48,250 ERROR \[Timer-7\] \[extender.internal.activator.ContextLoaderListener\] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/\*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' 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)

2013-12-27 11:56:48,479 WARN \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] timeout Timeout occurred before finding service dependencies for \[NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/\*.xml)\]

2013-12-27 11:56:48,480 ERROR \[Timer-7\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] fail Unable to create application context for \[com.atlassian.gadgets.oauth.serviceprovider\], unsatisfied dependencies: Dependency on \[(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)\] (from bean \[\&gadgetSpecFactory\]), Dependency on \[(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)\] (from bean \[\&gadgetRequestContextFactory\])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' 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)

2013-12-27 11:56:48,480 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)

2013-12-27 11:56:48,501 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] logAndClearOustandingDependencies Never resolved service '\&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)

2013-12-27 11:56:48,502 ERROR \[Timer-7\] \[plugin.osgi.factory.OsgiPlugin\] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.gadgets.oauth.serviceprovider

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' 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)

2013-12-27 11:56:48,502 ERROR \[Timer-7\] \[extender.internal.activator.ContextLoaderListener\] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/\*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' 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)


Answers:
author: jing_hwa_cheok
body: Hi Shek Singha ,

<br />

Have you increase the timeout to 300 second as suggested in the article

<https://confluence.atlassian.com/display/CONFKB/Plugins+are+Disabled+at+Startup+and+Various+Timeout+Errors+Appear+in+the+Logs+After+Startup> ? Please increase it to 300 second if you haven't do so.  

It possible that some of your bundle plugin is corrupted. Try downloading the same version of Confluence standalone zip which you are currently using then replace the **atlassian-bundled-plugins** and **atlassian-bundled-plugins-setup** in **\<confluence-install\>\\confluence\\WEB-INF\\** with the similar folder in the confluence installation.zip   

Also run the following query to reset all your plugin status to the default state.   
[](https://confluence.atlassian.com/display/CONFKB/Plugins+are+Disabled+at+Startup+and+Various+Timeout+Errors+Appear+in+the+Logs+After+Startup)

```
UPDATE BANDANA SET BANDANAVALUE = '&lt;map/&gt;' WHERE BANDANAKEY = 'plugin.manager.state.Map';
```

<br />

Regards,  
Jing Hwa

comments: author: Pedro Sousa
body: Jing Hwa

If I run this query, I start the confluence in safe mode?


Tags: confluence-administration