Confluence installation fails with unable to create application context

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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

Last modified on Mar 30, 2016

Was this helpful?

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