Fisheye fails to start up with parsing error in config.xml

お困りですか?

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

コミュニティに質問

症状

Fisheye fails to startup with following error reported in the fisheye-debug-<date>.log:

2012-12-05 18:50:00,431 ERROR - Errors parsing /Path/to/config.xml:

2012-12-05 18:50:00,431 ERROR - at line <Line No.>: Expected attribute: rep in element map@<Some URL>

2012-12-05 18:50:00,432 ERROR - Problem with config file: Error parsing 
config file (see logs): /Path/to/config.xml

atlassian-fisheye-<date>.log:

2013-11-20 09:27:11,597 ERROR [main ] fisheye.app RootConfig-load - Errors parsing C:\Atlassian\fisheyedata\config.xml:
2013-11-20 09:27:11,598 ERROR [main ] fisheye.app RootConfig-logXmlErrors - at line 225: Expected element 'api@http://www.cenqua.com/fisheye/config-1' instead of 'smtp@http://www.cenqua.com/fisheye/config-1' here in element config@http://www.cenqua.com/fisheye/config-1
2013-11-20 09:27:11,616 ERROR [main ] fisheye.app Run-mainImpl - Problem with config file: Error parsing config file (see logs): C:\Atlassian\fisheye-crucible-data\config.xml
2013-11-20 09:27:11,617 INFO  [main ] fisheye.app Run-mainImpl - CE
com.cenqua.fisheye.config.ConfigException: Error parsing config file (see logs): C:\Atlassian\fisheyedata\config.xml
	at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:148)
	at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:112)

原因

  1. This feature is being used in Fisheye.

    For some reason, the rep element is missing in the <FISHEYE_INST>/config.xml file here:

    <viewcvs-url-mapper><map viewcvsname="<Some URL>"/></viewcvs-url-mapper>

    As you can see from the link above, the ViewCVS name needs an associated repository with it, which is missing from the above tag.

    または

  2. Older version of Fisheye/Crucible is started.

ソリューション

  1. Update this element:

    <viewcvs-url-mapper><map viewcvsname="<Some URL>"/></viewcvs-url-mapper>

    as follows:

    <viewcvs-url-mapper><map viewcvsname="<Some URL>" rep="<Repository Name>"/></viewcvs-url-mapper>

    Note the "rep" tag after the "viewcvsname" tag. Add your repository name to this tag.

    Restart your Fisheye instance after modifying the <FISHEYE_HOME>/config.xml file.

     

  2. Make sure that you are starting the latest version of Fisheye/Crucible in your server.
最終更新日 2018 年 11 月 2 日

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

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