Unable to start up Confluence
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
Symptoms
Confluence unable to start.
The following appears in the atlassian-confluence.log
:
1
2
3
Fatal error during startup sequence: confluence.lifecycle.core:pluginframeworkdependentupgrades (Run all the upgrades that require the plugin framework to be available) -
com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: com.atlassian.applinks.host.OsgiServiceProxyFactory$ServiceTimeoutExceeded:
Timeout exceeded waiting for service - com.atlassian.applinks.spi.link.MutatingApplicationLinkService
Cause
There are few possible causes to this behaviour:
Multiple copies of Applinks and/or plugin JARs are present in your installation. These JARs can be checked under the following directories:
<Confluence-Installation-Directory>/confluence/WEB-INF/atlassian-bundled-plugins
The application initialises slowly and the plugin start up times-out
A corrupt plugin JAR cache exist
An unsupported version of Java has recently been installed
Resolution
According to the possible causes the following resolutions are suggested:
Remove Duplicate JAR Files
Remove the multiple copies of plugin JARs from under the following directories ensuring that there is only a single copy of each under the <Confluence-Installation-Directory>/confluence/WEB-INF/atlassian-bundled-plugins folder:
Increase the JAR Timeout Threshold
The default plugin timeout is 60 seconds. Increase the timeout by providing the following additional JVM parameter via the environment variable
JAVA_OPTS.
See Configuring System Properties for tips on how to set an environment variable.1
-Datlassian.plugins.enable.wait=300
Remove Corrupt JAR Cache
Delete the following plugin cache folders and restart Confluence:
<confluence-home>/bundled-plugins
<confluence-home>/plugins-cache
<confluence-home>/plugins-osgi-cache
confluence-home>/plugins-temp
4. Ensure Correct Java Version Is Referenced By Confluence
Ensure that an appropriate Java JVM is installed. See Supported Platforms for more information.
Was this helpful?