Bamboo does not start due to empty administration.xml file
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
When attempting to start Bamboo, the service does not start, and the following appears in the atlassian-bamboo
.log
2017-01-03 16:57:47,056 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remoteEventsJmsTemplate' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'jmsMessageConverter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsMessageConverter' defined in class path resource [applicationContextCommon.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bamboo.v2.build.queue.BambooMessageConverter]: Constructor threw exception; nested exception is com.thoughtworks.xstream.io.StreamException:
...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsMessageConverter' defined in class path resource [applicationContextCommon.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bamboo.v2.build.queue.BambooMessageConverter]: Constructor threw exception; nested exception is com.thoughtworks.xstream.io.StreamException:
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bamboo.v2.build.queue.BambooMessageConverter]: Constructor threw exception; nested exception is com.thoughtworks.xstream.io.StreamException:
...
Caused by: com.thoughtworks.xstream.io.StreamException:
...
at com.atlassian.bamboo.persister.file.FileBasedPersister.getAdministrationConfiguration(FileBasedPersister.java:280)
at com.atlassian.bamboo.configuration.AdministrationConfigurationAccessorImpl.getAdministrationConfiguration(AdministrationConfigurationAccessorImpl.java:26)
...
Caused by: java.io.EOFException: input contained no data
...
原因
This issue is caused by the <bamboo-home>/xml-data/configuration/administration.xml
file being empty.
This file is confirmed by these two lines in the stack, included above:
at com.atlassian.bamboo.persister.file.FileBasedPersister.getAdministrationConfiguration(FileBasedPersister.java:280)
at com.atlassian.bamboo.configuration.AdministrationConfigurationAccessorImpl.getAdministrationConfiguration(AdministrationConfigurationAccessorImpl.java:26)
ソリューション
- If you have a backup of
administration.xml
, please restore it to theconfiguration
directory.- The administration.xml file is located in the following paths:
- Bamboo 7 and earlier:
<bamboo-home>/xml-data/configuration/administration.xml
- Bamboo 8 and later:
<bamboo-shared-home>/configuration/administration.xml
- If you do not have recent backup, but have recently generated Support Zip you can find this file under <archive>/application-config/administration.xml.
- Otherwise, you will need to create one. This can be done by installing a separate instance of Bamboo, configured the same as your main Server, and then moving the file to the
configuration
directory on your original Bamboo instance.
最終更新日 2025 年 4 月 4 日
Powered by Confluence and Scroll Viewport.