Unable to start up Confluence
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
:
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 variableJAVA_OPTS.
See Configuring System Properties for tips on how to set an environment variable.-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.