Confluence Fails to Start After Crowd Integration
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
An error similar to below is found in atlassian-confluence.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2009-12-22 11:59:09,408 ERROR [main] [springframework.web.context.ContextLoader] initWebApplicationContext
Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'pluginResourceLocator' defined in class path resource [services/pluginServiceContext.xml]:
Cannot resolve reference to bean 'webResourceIntegration' while setting constructor argument with index 0;
nested exception is
:
:
: <massive caused by clauses>
:
Caused by: java.lang.RuntimeException: Cannot specify repository without a key
at com.atlassian.user.configuration.xml.XMLConfigurationParser.parseRepositoryIdentifier(XMLConfigurationParser.java:159)
at com.atlassian.user.configuration.xml.XMLConfigurationParser.parseRepositories(XMLConfigurationParser.java:112)
at com.atlassian.user.configuration.xml.XMLConfigurationParser.parse(XMLConfigurationParser.java:79)
at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:91)
Cause
Confluence Atlassian User component failed to parse the configuration set in <confluence install>/confluence/WEB-INF/classes/atlassian-user.xml
. A wrong configuration used in the file can cause this. For example, you may have duplicate <atlassian-user> and <repositories> as a result of copy and paste:
1
2
3
4
5
6
7
8
9
<atlassian-user>
<repositories>
<atlassian-user>
<repositories>
<crowd key="crowd" name="Crowd Repository"/>
</repositories>
</atlassian-user>
</repositories>
</atlassian-user>
Resolution
Make sure that your atlassian-user.xml
only contains the following:
1
2
3
4
5
<atlassian-user>
<repositories>
<crowd key="crowd" name="Crowd Repository"/>
</repositories>
</atlassian-user>
Was this helpful?