Cannot initialize context because there is already a root application context present

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Configuring a fresh Bamboo installation fails with following exception:

java.lang.IllegalStateException: Cannot initialize context because here is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml

Causes

  1. The database selection is changed half way through the setup process.
  2. If the Next button is clicked twice.

Resolution

The only workaround is to shutdown Bamboo, delete BAMBOO_HOME and start over.

Last modified on Dec 5, 2019

Was this helpful?

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