Fisheye/Crucible unable to startup due to duplicate repository
Symptoms
Fisheye/Crucible unable to startup.
The following appears in the atlassian-fisheye-<date>.log
:
2013-09-05 11:16:41,124 ERROR - The Web context could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'feCruHostApplication' defined in URL [jar:file:/xxx/fisheye.jar!/com/atlassian/fecru/applinks/FeCruHostApplication.class]: Unsatisfied dependency expressed through constructor argument with index 6 of type [com.cenqua.fisheye.config.RepositoryManager]: : Error creating bean with name 'repositoryManager': Invocation of init method failed; nested exception is com.cenqua.fisheye.config.ConfigException: Configuration contains duplicate <repository>, named: TESTREPO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryManager': Invocation of init method failed; nested exception is com.cenqua.fisheye.config.ConfigException: Configuration contains duplicate <repository>, named: TESTREPO
[...]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryManager': Invocation of init method failed; nested exception is com.cenqua.fisheye.config.ConfigException: Configuration contains duplicate <repository>, named: TESTREPO
Cause
There is a duplicate repository named TESTREPO in config.xml
file.
Resolution
Stop Fisheye/Crucible server
Edit FISHEYE_INST/config.xml file and remove one of the duplicate repo eg:
<repository name="TESTREPO" description="" store-diff="true" enabled="true"> <git location="https://github.com/xx/test.git/" renames="none" path=""/> <linker/> <security use-defaults="true" allow-anon="false" allow-logged-in="false" allow-anon-write="false" allow-logged-in-write="false"> <required-groups/> <required-write-groups/> </security> </repository>
- Start Fisheye/Crucible
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.