Bamboo returns 503 error upon startup

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

Bamboo is integrated with Crowd, upon startup (re-start) it returns a 503 error referencing to seraph-config.xml.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ..... 2013-06-27 09:42:09,679 ERROR [main] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildExpiryBean' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'resultsSummaryManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resultsSummaryManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionsInterceptor' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'businessAccessDecisionManager' while setting bean property 'accessDecisionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessAccessDecisionManager' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'aclBuildReadVoter' while setting bean property 'decisionVoters' with key [1]; ... com.atlassian.seraph.config.ConfigurationException: Could not create: authenticator : java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator ... Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeConfiguration' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could not load security config 'seraph-config.xml': Exception configuring from 'seraph-config.xml'. : com.atlassian.seraph.config.ConfigurationException: Could not create: authenticator : java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could not load security config 'seraph-config.xml': Exception configuring from 'seraph-config.xml'. : com.atlassian.seraph.config.ConfigurationException: Could not create: authenticator : java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator Caused by: java.lang.RuntimeException: Could not load security config 'seraph-config.xml': Exception configuring from 'seraph-config.xml'. : com.atlassian.seraph.config.ConfigurationException: Could not create: authenticator : java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:60) at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21) at com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration.<init>(DefaultRememberMeConfiguration.java:26) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... Caused by: com.atlassian.seraph.config.ConfigurationException: Could not create: authenticator : java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:288) at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215) at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159) ... 117 more Caused by: java.lang.ClassNotFoundException: com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) ... at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:104) at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:273) ... 119 more

Cause

The error is caused by seraph authentication version 22.

Resolution

Edit the BambooInstall/webapp/WEB-INF/classes/seraph-config.xml file and as described on this page: Integrating Bamboo with Crowd and use:

1 <authenticator class="com.atlassian.crowd.integration.seraph.v25.BambooAuthenticator"/>

instead of:

1 <authenticator class="com.atlassian.crowd.integration.seraph.v22.BambooAuthenticator"/>

Then re-start Bamboo.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.