Unable to start up Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  1. 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
  2. The application initialises slowly and the plugin start up times-out
  3. A corrupt plugin JAR cache exist
  4. An unsupported version of Java has recently been installed

Resolution

According to the possible causes the following resolutions are suggested:

  1. 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:
  2. 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.

    -Datlassian.plugins.enable.wait=300

     

  3. 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. 

Last modified on Mar 31, 2022

Was this helpful?

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