Plugins are disabled at startup causing an empty UI

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

When starting Fisheye/Crucible, some of the plugins are disabled. The following appears in the atlassian-fisheye0-xxx.log at startup:

2018-12-13 14:58:33,001 INFO  [main ] fisheye SpringProfilesLogger-setEnvironment - Active spring profiles: []
2018-12-13 15:04:33,593 WARN  [Spring DM Context Creation Timer ] org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor DependencyWaiterApplicationContextExecutor-timeout - Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.applinks.applinks-cors-plugin, config=osgibundle:/META-INF/spring/*.xml)]
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&xsrfTokenAccessor' with filter '(objectClass=com.atlassian.sal.api.xsrf.XsrfTokenAccessor)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&typeAccessor' with filter '(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&webSudoManager' with filter '(objectClass=com.atlassian.sal.api.websudo.WebSudoManager)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&templateRenderer' with filter '(objectClass=com.atlassian.templaterenderer.TemplateRenderer)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&authenticationConfigurationManager' with filter '(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&xsrfTokenValidator' with filter '(objectClass=com.atlassian.sal.api.xsrf.XsrfTokenValidator)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&loginUriProvider' with filter '(objectClass=com.atlassian.sal.api.auth.LoginUriProvider)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&userManager' with filter '(objectClass=com.atlassian.sal.api.user.UserManager)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&localeResolver' with filter '(objectClass=com.atlassian.sal.api.message.LocaleResolver)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&i18nResolver' with filter '(objectClass=com.atlassian.sal.api.message.I18nResolver)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&applicationLinkService' with filter '(objectClass=com.atlassian.applinks.api.ApplicationLinkService)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-logAndClearOustandingDependencies - Plugin 'com.atlassian.applinks.applinks-cors-plugin' never resolved service '&requestFactory' with filter '(objectClass=com.atlassian.sal.api.net.RequestFactory)'
2018-12-13 15:04:33,593 ERROR [Spring DM Context Creation Timer ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-onPluginContainerFailed - Unable to start the plugin container for plugin 'com.atlassian.applinks.applinks-cors-plugin'
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.applinks-cors-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)(objectClass=com.atlassian.applinks.api.ApplicationLinkService)(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)(objectClass=com.atlassian.sal.api.net.RequestFactory)(objectClass=com.atlassian.sal.api.message.I18nResolver)(objectClass=com.atlassian.sal.api.message.LocaleResolver)(objectClass=com.atlassian.sal.api.websudo.WebSudoManager)(objectClass=com.atlassian.sal.api.xsrf.XsrfTokenAccessor)(objectClass=com.atlassian.sal.api.xsrf.XsrfTokenValidator)(objectClass=com.atlassian.sal.api.user.UserManager)(objectClass=com.atlassian.sal.api.auth.LoginUriProvider)(objectClass=com.atlassian.templaterenderer.TemplateRenderer))
	at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) [gemini-blueprint-extender-2.0.5.BUILD-atlassian-m002.jar:2.0.5.BUILD-atlassian-m002]


Cause

If using Windows, a cause is that Mcafee (or another virus scanner) could be blocking some of the add-ons to start, or taking too long causing timeouts  and hence causing their dependencies to fail as well.

Another  cause could be corrupted plugin cache after some issues during an upgrade. (In this case refer to Web interface does not load after upgrade 

Workaround 

If you are using any kind of anti-virus try to add an exception on <FISHEYE_INST>/<FISHEYE_HOME> directories or disable the anti-virus on the Fisheye/Crucible application server.

Below instructions apply to disable directories on Mcafee.

  1. Open “VirusScan Console”.
  2. Double click “On-Access Scanner”.
  3. Select “All Processes” --> “Exclusions” tab.
  4. Click “Exclusions”, Click “Add”.
  5. Enter the <FISHEYE_ INST> directory path in the “name\location” field.
  6. Check the box “Also exclude subfolders”.
  7. Repeat the process with <FISHEYE_HOME> directory.
  8. Apply the changes.
  9. Restart Fisheye/Crucible.


Last modified on Dec 13, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.