Unable to load atlassian-user.xml configuration to connect to LDAP
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
Bamboo fails to use the configured BAMBOO_HOME/xml-data/configuration/atlassian-user.xml file to connect to LDAP and shows this error:
2013-05-22 17:40:34,680 ERROR [main] [ContextLoader] Context initialization failed
...
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.atlassian.bamboo.server.Server.main(Server.java:74)
Caused by: com.atlassian.user.configuration.ConfigurationException: Unable to load atlassian-user configuration: org.dom4j.DocumentException: Error on line 12 of document : The element type "groupSearchFilter" must be terminated by the matching end-tag "</groupSearchFilter>". Nested exception: The element type "groupSearchFilter" must be terminated by the matching end-tag "</groupSearchFilter>".
at com.atlassian.user.configuration.xml.XMLConfigurationParser.parse(XMLConfigurationParser.java:93)
at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:91)
at com.atlassian.crowd.integration.atlassianuser.AbstractDynamicUserConfiguration.loadConfiguration(AbstractDynamicUserConfiguration.java:56)
at com.atlassian.crowd.integration.atlassianuser.AbstractDynamicUserConfiguration.<init>(AbstractDynamicUserConfiguration.java:24)
at com.atlassian.crowd.integration.atlassianuser.AbstractDynamicUserConfiguration$$EnhancerByCGLIB$$1ccb3615.<init>(<generated>)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
... 原因
The groupSearchFilter tag in the atlassian-user.xml file is not closed properly.
ソリューション
Please make sure that you have a correct <groupSearchFilter> tag and a matching (closing) </groupSearchFilter> tag. Check for typos.
For more information about LDAP configuration for Bamboo, please refer to this page.
この内容はお役に立ちましたか?