Unable to load atlassian-user.xml configuration to connect to LDAP

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

Cause

The groupSearchFilter tag in the atlassian-user.xml file is not closed properly.

Resolution

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.

 

Last modified on Nov 2, 2018

Was this helpful?

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