{"id":5708,"date":"2022-03-30T08:53:37","date_gmt":"2022-03-30T00:53:37","guid":{"rendered":"https:\/\/damogame.cn:15443\/wordpress\/?p=5708"},"modified":"2022-03-30T08:53:37","modified_gmt":"2022-03-30T00:53:37","slug":"confluence-unable-to-bootstrap-application","status":"publish","type":"post","link":"https:\/\/i007.cc\/wordpress\/archives\/5708","title":{"rendered":"Confluence: Unable to bootstrap application"},"content":{"rendered":"<p><a href=\"https:\/\/blog.csdn.net\/yomo127\/article\/details\/85631221\">\u539f\u6587\u5730\u5740<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u7ecf\u5386\u4e86\u51e0\u6b21\u670d\u52a1\u5668\u5d29\u6e83\u91cd\u542f\u540e\uff0cConfluence\u91cd\u542f\u4e0d\u4e86\uff0c\u5e76\u5f39\u51fa\u63d0\u793a<\/p>\n<p>Confluence had problems starting up<br \/>\nThis page is for Confluence administrators. If you\u2019re seeing this page, your Confluence administrator is probably working to restore the service.<\/p>\n<p>Description:Could not load bootstrap from environment<br \/>\nTime:2019-01-02 16:28:39<br \/>\nLevel: fatal<br \/>\nException: BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.<\/p>\n<p>\u5206\u6790\u539f\u56e0<br \/>\n\u51e0\u4e2a\u91cd\u8981\u6587\u4ef6\uff1a<br \/>\n\u542f\u52a8\u53c2\u6570\uff1a\/opt\/atlassian\/confluence\/confluence\/WEB-INF\/classes\/confluence-init.properties<\/p>\n<p>confluence.home = \/home\/atlassian\/application-data\/confluence<\/p>\n<p>\u914d\u7f6e\u6587\u4ef6\uff1a\/home\/atlassian\/application-data\/confluence\/confluence.cfg.xml<\/p>\n<p>\u53d1\u73b0\u7cfb\u7edf\u5d29\u6e83\u91cd\u542f\u5bfc\u81f4\u4e86confluence.cfg.xml\u6587\u4ef6\u4e3a\u7a7a\uff0c\u542f\u52a8\u65f6\u8bfb\u53d6\u4e0d\u5230\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u53c2\u6570\u548c\u914d\u7f6e\uff08\u771f\u662f\u5751\uff09\u3002\u5728\u5907\u4efd\u6587\u4ef6\u91cc\u4e5f\u627e\u4e0d\u5230\u6b64\u6587\u4ef6\uff0c\u53ea\u627e\u5230\u4e86\u5386\u53f2\u64cd\u4f5cevents\u6570\u636e\u3002<\/p>\n<p>\u53c2\u8003\u4e86\u5b98\u7f51\u6587\u4ef6\u540e1\uff0c\u627e\u5230\u4e86\u5982\u4e0b\u65b9\u6cd5<\/p>\n<p>\u5907\u4efd\u6570\u636e\u5e93DB1\u548cConfluence home\u6587\u4ef6\u5939HOME1<br \/>\n\u65b0\u5efa\u4e00\u4e2a\u7a7a\u6570\u636e\u5e93DB2\uff0c\u7528\u4e8e\u521b\u5efa\u65b0\u7684confluence.cfg.xml\uff0c\u7a0d\u540e\u53ef\u4ee5\u5e9f\u5f03\u3002<br \/>\n\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7a7a\u7684home\u6587\u4ef6\u5939HOME2\u3002\u7f16\u8f91&lt;confluence_install_directory&gt;\/confluence\/WEB-INF\/classes\/confluence-init.properties\uff0c\u6307\u5411HOME2<br \/>\n\u91cd\u542fConfluence<br \/>\n\u6309\u7167\u5b89\u88c5\u6307\u5bfc\u6b63\u5e38\u914d\u7f6e\uff0c\u5728\u6570\u636e\u5e93\u914d\u7f6e\u9875\u9762\uff0c\u6307\u5411\u7b2c\u4e8c\u6b65\u521b\u5efa\u7684\u6570\u636e\u5e93<br \/>\n\u5b8c\u6210\u8bbe\u7f6e\u6307\u5bfc<br \/>\n\u5173\u95edConfluence<br \/>\n\u8fd9\u65f6\u5c31\u6709\u4e00\u4e2a\u5b8c\u6574\u7684confluence.cfg.xml\u6587\u4ef6<br \/>\n\u628a\u8fd9\u4e2a\u6587\u4ef6\u590d\u5236\u5230HOME1\u6587\u4ef6\u5939\u4e2d<br \/>\n\u53d8\u66f4\u6570\u636e\u5e93\u94fe\u63a5\u5230\u6240\u9700\u7684\u6570\u636e\u5e93DB1\u4e0a<br \/>\n\u53d8\u66f4&lt;confluence_install_directory&gt;\/confluence\/WEB-INF\/classes\/confluence-init.properties \u5c06home\u8bbe\u7f6e\u4e3aHOME1<br \/>\n\u91cd\u542fConfluence<br \/>\n\u540e\u7eed<br \/>\n\u5fc5\u8981\u7684\u5907\u4efd\u662f\u5fc5\u987b\u7684\uff0c\u5728\u6211\u6253\u7b97\u8fdb\u884c\u4e0a\u9762\u7684\u64cd\u4f5c\u65f6\uff0c\u53d1\u73b0\u5728\u5b89\u88c5\u65f6\u6709\u5907\u4efd\uff0c\u76f4\u63a5COPY\u5907\u4efd\u6587\u4ef6\u8fc7\u53bb\uff0c\u91cd\u542f\u641e\u5b9a\u3002<\/p>\n<p>\u53c2\u8003\u6587\u4ef6<br \/>\nHow to Generate a New confluence.cfg.xml \u21a9\ufe0e<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u5730\u5740 &nbsp; \u7ecf\u5386\u4e86\u51e0\u6b21\u670d\u52a1\u5668<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[24],"tags":[121],"class_list":["post-5708","post","type-post","status-publish","format-standard","hentry","category-value_docs","tag-05-"],"_links":{"self":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/comments?post=5708"}],"version-history":[{"count":0,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5708\/revisions"}],"wp:attachment":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/media?parent=5708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/categories?post=5708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/tags?post=5708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}