Bamboo returns 503 error upon startup

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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

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

 原因

The error is caused by seraph authentication version 22.

ソリューション

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

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

instead of:

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

Then re-start Bamboo.


最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.