Please wait while Bamboo sets up your database
Asked by Luca Seoli:

Goodmorning,

I'm trying to use Bamboo in evaluation mode in a Ubuntu 16.04 Work Station. I started installation considering [this](https://confluence.atlassian.com/bamboo/installing-bamboo-on-linux-289276792.html) guide. Unfortunately the installation process stopped in a endless loop at step #5. In particular, 'custom installation' page returned me this message: "Please wait while Bamboo sets up your database" indefinitely. So, now, I can't complete my Bamboo setup.  
I tried to analyze "atlassian-bamboo.log" file with no results.  
These are some errors I've found:  

*2019-06-12 17:41:38,290 ERROR \[setupEmbeddedDatabaseBackgroundThread\] \[ContextLoader\] Context initialization failed*   
*org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reloadableBeanFactories' defined in class path resource \[applicationContextPlugin.xml\]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customBuildCompleteActionAdvisor' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'hibernateInterceptor' while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateInterceptor' defined in class path resource \[applicationContextPersistence.xml\]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource \[applicationContextPersistence.xml\]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
ERROR \[setupEmbeddedDatabaseBackgroundThread\] \[SetupUtilityBean\] Database configuration failed. Error creating bean with name 'reloadableBeanFactories' defined in class path resource \[applicationContextPlugin.xml\]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customBuildCompleteActionAdvisor' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'hibernateInterceptor' while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateInterceptor' defined in class path resource \[applicationContextPersistence.xml\]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource \[applicationContextPersistence.xml\]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reloadableBeanFactories' defined in class path resource \[applicationContextPlugin.xml\]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customBuildCompleteActionAdvisor' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'hibernateInterceptor' while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateInterceptor' defined in class path resource \[applicationContextPersistence.xml\]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource \[applicationContextPersistence.xml\]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException*

<br />

Please, could you help me and give me some advice to complete Bamboo installation and start my evaluation Bamboo instance?

Thank you so much!  

Regards,  
Luca  


Answers:
author: Carlos Alberto Borda Benito
body: I have the same problem.

Please, could you help me and give me some advice to complete Bamboo installation and start my evaluation Bamboo instance?

Thank you so much!

Regards,  
Jhon Choquenaira Ttito

comments: author: Luca Seoli
body: Carlos, check JDK version you're using. Unfortunately I installed JDK 12 before installing Bamboo but this version is not supported. Take a view to [this](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html) page. Go back to JAVA 1.8. It solved the problem for me :)


author: Ted I. Cruz
body: This worked for me. Thanks.


Tags: administration