Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo - Unable To Install. Continual Loading Icon

Peter March 5, 2019

I have continually tried to install Bamboo however it always hangs on trying to setup the database. I ave tried both methods (embedded DB and specified DB) but both hang at the same time.

I have checked the error log and found the following (not the whole log but shows upto where it starts going wrong)

Any help would be much appreciated.

Platform Linux
JDK /usr/java/jdk-11.0.2

2019-03-05 23:47:36,249 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2019-03-05 23:47:36,250 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-03-05 23:47:36,250 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2019-03-05 23:47:36,250 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-03-05 23:47:36,251 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2019-03-05 23:47:36,355 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2019-03-05 23:47:36,374 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2019-03-05 23:47:37,908 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 6.8.0 (build #60803 Wed Jan 30 13:37:58 GMT 2019) using Java 11.0.2 from Oracle Corporation
2019-03-05 23:47:37,909 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /home/bamboo/bamboo/atlassian-bamboo/
2019-03-05 23:47:37,994 INFO [localhost-startStop-1] [DefaultSetupPersister] Current setup step: setupLicense
2019-03-05 23:47:37,996 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /home/bamboo/bamboo-home
2019-03-05 23:47:37,996 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2019-03-05 23:47:38,005 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2019-03-05 23:47:38,072 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2019-03-05 23:47:38,620 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-03-05 23:47:39,612 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-03-05 23:47:39,716 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-03-05 23:47:40,402 INFO [localhost-startStop-1] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
2019-03-05 23:47:40,484 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-03-05 23:47:40,646 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-03-05 23:47:40,708 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-03-05 23:47:50,615 INFO [http-nio-8085-exec-1] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
2019-03-05 23:47:50,688 INFO [http-nio-8085-exec-3] [AccessLogFilter] 192.168.1.3 GET http://192.168.1.200:8085/bootstrap/selectSetupStep.action 360067kb
2019-03-05 23:47:51,059 INFO [http-nio-8085-exec-3] [SelectSetupStepAction] Current setup step is /setup/setupLicense.action
2019-03-05 23:47:51,189 INFO [http-nio-8085-exec-2] [AccessLogFilter] 192.168.1.3 GET http://192.168.1.200:8085/setup/setupLicense.action 270471kb
2019-03-05 23:48:02,296 INFO [http-nio-8085-exec-5] [AccessLogFilter] 192.168.1.3 POST http://192.168.1.200:8085/setup/validateLicense.action 411849kb
2019-03-05 23:48:02,422 INFO [http-nio-8085-exec-5] [DefaultSetupPersister] Current setup step: setupGeneralConfiguration
2019-03-05 23:48:02,601 INFO [http-nio-8085-exec-6] [AccessLogFilter] 192.168.1.3 GET http://192.168.1.200:8085/setup/setupGeneralConfiguration.action 372154kb
2019-03-05 23:48:10,010 INFO [http-nio-8085-exec-8] [AccessLogFilter] 192.168.1.3 POST http://192.168.1.200:8085/setup/validateGeneralConfiguration.action 334266kb
2019-03-05 23:48:10,072 INFO [http-nio-8085-exec-8] [SetupUtilityBean] Creating the directory structure...
2019-03-05 23:48:10,809 INFO [http-nio-8085-exec-8] [DefaultSetupPersister] Current setup step: setupDatabase
2019-03-05 23:48:10,994 INFO [http-nio-8085-exec-7] [AccessLogFilter] 192.168.1.3 GET http://192.168.1.200:8085/setup/setupDatabase.action 405935kb
2019-03-05 23:48:11,562 WARN [http-nio-8085-exec-7] [TextProviderHelper] The first TextProvider in the ValueStack (com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseAction) could not locate the message resource with key 'help.prefix'
2019-03-05 23:48:11,564 WARN [http-nio-8085-exec-7] [TextProviderHelper] The default value expression 'help.prefix' was evaluated and did not match a property. The literal value 'help.prefix' will be used.
2019-03-05 23:48:11,566 WARN [http-nio-8085-exec-7] [TextProviderHelper] The first TextProvider in the ValueStack (com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseAction) could not locate the message resource with key 'db.mysql'
2019-03-05 23:48:11,566 WARN [http-nio-8085-exec-7] [TextProviderHelper] The default value expression 'db.mysql' was evaluated and did not match a property. The literal value 'db.mysql' will be used.
2019-03-05 23:48:47,762 INFO [http-nio-8085-exec-9] [AccessLogFilter] 192.168.1.3 POST http://192.168.1.200:8085/setup/chooseDatabaseType.action 283653kb
2019-03-05 23:48:47,912 INFO [http-nio-8085-exec-11] [AccessLogFilter] 192.168.1.3 GET http://192.168.1.200:8085/setup/setupDatabaseConnection.action?selectedDatabase=postgresql 242348kb
2019-03-05 23:48:48,088 WARN [http-nio-8085-exec-11] [TextProviderHelper] The first TextProvider in the ValueStack (com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction) could not locate the message resource with key 'help.prefix'
2019-03-05 23:48:48,089 WARN [http-nio-8085-exec-11] [TextProviderHelper] The default value expression 'help.prefix' was evaluated and did not match a property. The literal value 'help.prefix' will be used.
2019-03-05 23:48:48,089 WARN [http-nio-8085-exec-11] [TextProviderHelper] The first TextProvider in the ValueStack (com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction) could not locate the message resource with key 'db.mysql'
2019-03-05 23:48:48,089 WARN [http-nio-8085-exec-11] [TextProviderHelper] The default value expression 'db.mysql' was evaluated and did not match a property. The literal value 'db.mysql' will be used.
2019-03-05 23:49:36,997 INFO [http-nio-8085-exec-12] [AccessLogFilter] 192.168.1.3 POST http://192.168.1.200:8085/setup/performSetupDatabaseConnection.action 207363kb
2019-03-05 23:49:37,088 INFO [performSetupDatabaseConnectionBackgroundThread] [SetupDatabaseConnectionAction] Validating database configuration...
2019-03-05 23:49:37,096 INFO [performSetupDatabaseConnectionBackgroundThread] [SetupDatabaseConnectionAction] Validating connection to url: [jdbc:postgresql://localhost:5432/bamboo]
2019-03-05 23:49:37,238 INFO [performSetupDatabaseConnectionBackgroundThread] [SetupDatabaseConnectionAction] Database configuration is valid.
2019-03-05 23:49:37,239 INFO [performSetupDatabaseConnectionBackgroundThread] [SetupUtilityBean] Setting up database: postgresql
2019-03-05 23:49:37,240 INFO [performSetupDatabaseConnectionBackgroundThread] [SetupUtilityBean] Bootstrapping database: postgresql
2019-03-05 23:49:37,240 INFO [performSetupDatabaseConnectionBackgroundThread] [DefaultHibernateConfigurator] Saving bootstrap configuration...
2019-03-05 23:49:37,252 INFO [performSetupDatabaseConnectionBackgroundThread] [DefaultHibernateConfigurator] Refreshing Spring context...
2019-03-05 23:49:39,109 WARN [http-nio-8085-exec-12] [TokenHelper] Could not find token mapped to token name: token
2019-03-05 23:49:39,847 WARN [performSetupDatabaseConnectionBackgroundThread] [GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'mappingResources' being accessed! Ambiguous write methods found next to actually used [public void bucket.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean.setMappingResources(bucket.core.persistence.hibernate.MappingResources)]: [public void org.springframework.orm.hibernate5.LocalSessionFactoryBean.setMappingResources(java.lang.String[])]
2019-03-05 23:49:40,076 WARN [performSetupDatabaseConnectionBackgroundThread] [XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: 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
2019-03-05 23:49:40,079 ERROR [performSetupDatabaseConnectionBackgroundThread] [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

 

1 answer

1 accepted

2 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2019

Hi @Peter

Thank you for providing the data we needed to understand your issue.

Bamboo does not support JAVA 11 and therefore you will need to install a supported JAVA version as per Supported platforms - Atlassian Documentation.

Please try:

  1. Stop Bamboo process
  2. Install JAVA JDK 1.8
  3. Make sure the JAVA_HOME is properly configured to the installed JAVA
  4. Start Bamboo process again

Please share your findings here.

Peter March 6, 2019
Unfortunately not. whats more now bitbucket will no longer start

/* note to self, after changing path ensure it changed properly */
Peter March 6, 2019

apologies ignore the above message, found that the path was still being overwritten with the path to java 11.

Installation now successful, just need to workout why bitbucket is currently failing

Like arochdi likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

Hi @Peter

I'm glad that you could work this out adjusting the JAVA installation.
I suggest you pinging our Bitbucket community for the second issue.

See you in the next thread!

Like Peter likes this
Peter March 7, 2019

Managed to sort the Bitbucket issue. Was something silly I did tbh. 

Like Daniel Santos likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

@Peter +++++ Fixing all the things! =]

Like Peter likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events