Fisheye/Crucible Fails To Start Due To "Problem with config file: org.apache.xmlbeans.XmlException: error: Unexpected character encountered"
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
症状
The following appears in the log file and prevents the instance from being started:-
2014-07-16 07:12:18,885 ERROR [main ] fisheye Run-mainImpl - Problem with config file: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
com.cenqua.fisheye.config.ConfigException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:171)
at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:112)
at com.cenqua.fisheye.ctl.Run.main(Run.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
Caused by: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3471)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.cenqua.fisheye.config1.ConfigDocument$Factory.parse(ConfigDocument.java:886)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:198)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:188)
at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:161)
... 8 more
Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 5; columnNumber: 6; Unexpected character encountered while in a closing tag: 'c'
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
... 15 more
診断
Use XML Validator to validate your config.xml file.
原因
It is due to syntax error in config.xml file particularly at line 5 as mentioned in the error which prevents the instance from being started.
ソリューション
ソリューション
Fix the syntax error in the XML file and try to start your instance again.
または
Restore the XML file from the backup
この内容はお役に立ちましたか?