Plugins are disabled at startup causing an empty UI
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When starting Fisheye/Crucible, some of the plugins are disabled. The following appears in the atlassian-fisheye0-xxx.log at startup
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.
Open “VirusScan Console”.
Double click “On-Access Scanner”.
Select “All Processes” --> “Exclusions” tab.
Click “Exclusions”, Click “Add”.
Enter the <FISHEYE_ INST> directory path in the “name\location” field.
Check the box “Also exclude subfolders”.
Repeat the process with <FISHEYE_HOME> directory.
Apply the changes.
Restart Fisheye/Crucible.
Was this helpful?