Confluence installation fails with unable to create application context

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 installation using the installer took longer than expected and in the end timed out with the following error in the atlassian-confluence.log:

1 2 3 4 5 6 7 8 9 10 11 ERROR [Timer-9] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.streams.aggregator-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.applinks.api.EntityLinkService)] (from bean [&entityLinkService]), Dependency on [(objectClass=com.atlassian.applinks.api.ApplicationLinkService)] (from bean [&applinkService]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.streams.aggregator-plugin' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) ERROR [Timer-9] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&entityLinkService' for plugin 'com.atlassian.streams' with filter (objectClass=com.atlassian.applinks.api.EntityLinkService) ERROR [Timer-9] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&applinkService' for plugin 'com.atlassian.streams' with filter (objectClass=com.atlassian.applinks.api.ApplicationLinkService) ERROR [Timer-9] [plugin.osgi.factory.OsgiPlugin] onSpringContextFailed Unable to start the Spring context for plugin com.atlassian.streams

Cause

There is a virus scanner installed on the server which hinders the appropriate java classes to be unpacked.

Resolution

  1. Turn off any anti-virus application on the server

  2. Restart Confluence

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.