Fisheye/Crucible unable to startup due to duplicate repository

お困りですか?

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

コミュニティに質問

症状

Fisheye/Crucible unable to startup.

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

原因

There is a duplicate repository named TESTREPO in config.xml file.

ソリューション

  1. Stop Fisheye/Crucible server

  2. 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> 
  3. Start Fisheye/Crucible
最終更新日 2018 年 7 月 31 日

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

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