Bamboo installation database failed
Asked by Erhan Nirvan:

installed java, java home

on db installation error is:

2019-01-04 21:11:33,244 WARN \[setupDefaultGeneralBackgroundThread\] \[cache\] HHH90001006: Missing cache\[bucket.user.propertyset.BucketPropertySetItem\] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.  
2019-01-04 21:11:34,213 INFO \[http-nio-8085-exec-13\] \[AccessLogFilter\] 0:0:0:0:0:0:0:1 POST http://localhost:8085/setup/setupDefaultGeneral.action 589502kb  
2019-01-04 21:11:34,214 ERROR \[setupDefaultGeneralBackgroundThread\] \[PojoEntityTuplizer\] HHH000243: Setters of lazy classes cannot be final: com.atlassian.bamboo.plan.AbstractChain.notificationSet  
2019-01-04 21:11:35,921 ERROR \[setupDefaultGeneralBackgroundThread\] \[MetadataContext\] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl_#availabilityZones; expected type : org.hibernate.metamodel.internal.SingularAttributeImpl; encountered type : javax.persistence.metamodel.CollectionAttribute  
2019-01-04 21:11:35,922 ERROR \[setupDefaultGeneralBackgroundThread\] \[MetadataContext\] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl_#subnetIds; expected type : org.hibernate.metamodel.internal.SingularAttributeImpl; encountered type : javax.persistence.metamodel.CollectionAttribute  
2019-01-04 21:11:35,955 ERROR \[setupDefaultGeneralBackgroundThread\] \[MetadataContext\] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.project.DefaultProject_#allPlans; expected type : org.hibernate.metamodel.internal.PluralAttributeImpl$CollectionAttributeImpl; encountered type : javax.persistence.metamodel.ListAttribute  
2019-01-04 21:11:36,228 INFO \[http-nio-8085-exec-14\] \[AccessLogFilter\] 0:0:0:0:0:0:0:1 POST http://localhost:8085/setup/setupDefaultGeneral.action 400094kb  
2019-01-04 21:11:38,240 INFO \[http-nio-8085-exec-15\] \[AccessLogFilter\] 0:0:0:0:0:0:0:1 POST http://localhost:8085/setup/setupDefaultGeneral.action 491784kb  
2019-01-04 21:11:38,754 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Loaded the Bouncy Castle security provider.  
2019-01-04 21:11:38,988 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Using Persistence Adapter: KahaDBPersistenceAdapter\[C:\\Users\\MyPc\\bamboo-home\\jms-store\\bamboo\\KahaDB\]  
2019-01-04 21:11:39,416 INFO \[setupDefaultGeneralBackgroundThread\] \[MessageDatabase\] Persistence store purged.  
2019-01-04 21:11:39,484 INFO \[setupDefaultGeneralBackgroundThread\] \[PListStoreImpl\] PListStore:\[C:\\Users\\MyPc\\bamboo-home\\jms-store\\bamboo\\tmp_storage\] started  
2019-01-04 21:11:39,669 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Apache ActiveMQ 5.14.5 (bamboo, ID:BILGISAYARIM-51701-1546625499498-0:1) is starting  
2019-01-04 21:11:39,674 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerPluginSupport\] Broker Plugin org.apache.activemq.broker.util.TimeStampingBrokerPlugin started  
2019-01-04 21:11:39,678 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Apache ActiveMQ 5.14.5 (bamboo, ID:BILGISAYARIM-51701-1546625499498-0:1) started  
2019-01-04 21:11:39,678 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] For help or more information please see: <http://activemq.apache.org>  
2019-01-04 21:11:39,852 INFO \[setupDefaultGeneralBackgroundThread\] \[BambooBrokerService\] Registering custom http transport in ActiveMQ.  
2019-01-04 21:11:39,863 INFO \[setupDefaultGeneralBackgroundThread\] \[TomcatHttpTransportServer\] Starting TomcatHttpTransportServer...  
2019-01-04 21:11:40,290 INFO \[http-nio-8085-exec-16\] \[AccessLogFilter\] 0:0:0:0:0:0:0:1 POST http://localhost:8085/setup/setupDefaultGeneral.action 645656kb  
2019-01-04 21:11:40,326 INFO \[setupDefaultGeneralBackgroundThread\] \[TransportConnector\] Connector http://localhost/bamboo/jmsServlet started  
2019-01-04 21:11:40,328 INFO \[setupDefaultGeneralBackgroundThread\] \[JmsSslManagementUtils\] Generating a new key store...  
2019-01-04 21:11:40,888 INFO \[setupDefaultGeneralBackgroundThread\] \[JmsSslManagementUtils\] Saving key store for future use...  
2019-01-04 21:11:42,173 WARN \[setupDefaultGeneralBackgroundThread\] \[XmlWebApplicationContext\] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratingErrorAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'decoratedErrorDetailsFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratedErrorDetailsFactory' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'agentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManager' defined in class path resource \[applicationContextManagers.xml\]: Cannot create inner bean 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' of type \[com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'elasticAgentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticAgentManager' defined in class path resource \[applicationContextAgentServer.xml\]: Bean instantiation via constructor failed; nested exception is java.lang.ExceptionInInitializerError  
2019-01-04 21:11:42,177 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Apache ActiveMQ 5.14.5 (bamboo, ID:BILGISAYARIM-51701-1546625499498-0:1) is shutting down  
2019-01-04 21:11:42,181 INFO \[setupDefaultGeneralBackgroundThread\] \[TransportConnector\] Connector http://localhost/bamboo/jmsServlet stopped  
2019-01-04 21:11:42,187 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerPluginSupport\] Broker Plugin org.apache.activemq.broker.util.TimeStampingBrokerPlugin stopped  
2019-01-04 21:11:42,188 INFO \[setupDefaultGeneralBackgroundThread\] \[PListStoreImpl\] PListStore:\[C:\\Users\\MyPc\\bamboo-home\\jms-store\\bamboo\\tmp_storage\] stopped  
2019-01-04 21:11:42,190 INFO \[setupDefaultGeneralBackgroundThread\] \[KahaDBStore\] Stopping async queue tasks  
2019-01-04 21:11:42,190 INFO \[setupDefaultGeneralBackgroundThread\] \[KahaDBStore\] Stopping async topic tasks  
2019-01-04 21:11:42,191 INFO \[setupDefaultGeneralBackgroundThread\] \[KahaDBStore\] Stopped KahaDB  
2019-01-04 21:11:42,242 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Apache ActiveMQ 5.14.5 (bamboo, ID:BILGISAYARIM-51701-1546625499498-0:1) uptime 3.368 seconds  
2019-01-04 21:11:42,243 INFO \[setupDefaultGeneralBackgroundThread\] \[BrokerService\] Apache ActiveMQ 5.14.5 (bamboo, ID:BILGISAYARIM-51701-1546625499498-0:1) is shutdown  
2019-01-04 21:11:42,268 ERROR \[setupDefaultGeneralBackgroundThread\] \[ContextLoader\] Context initialization failed  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratingErrorAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'decoratedErrorDetailsFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratedErrorDetailsFactory' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'agentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManager' defined in class path resource \[applicationContextManagers.xml\]: Cannot create inner bean 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' of type \[com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'elasticAgentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticAgentManager' defined in class path resource \[applicationContextAgentServer.xml\]: Bean instantiation via constructor failed; nested exception is java.lang.ExceptionInInitializerError  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:639)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:153)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1267)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1124)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)  
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)  
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)  
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)  
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)  
at com.atlassian.config.spring.BootstrappedContainerContext.refresh(BootstrappedContainerContext.java:22)  
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.refreshSpringContextAndCreateDatabase(DefaultHibernateConfigurator.java:120)  
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.configureDatabase(DefaultHibernateConfigurator.java:63)  
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.bootstrapDatabase(DefaultAtlassianBootstrapManager.java:254)  
at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupStandardDatabase(SetupUtilityBean.java:187)  
at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupEmbeddedDatabase(SetupUtilityBean.java:178)  
at com.atlassian.bamboo.ww2.actions.setup.SetupDefaultsAction$SetupDefaultDatabase.call(SetupDefaultsAction.java:86)  
at com.atlassian.bamboo.ww2.actions.setup.SetupDefaultsAction$SetupDefaultGeneral.call(SetupDefaultsAction.java:69)  
at com.atlassian.bamboo.ww2.actions.setup.SetupDefaultsAction$SetupDefaultGeneral.call(SetupDefaultsAction.java:43)  
at com.atlassian.bamboo.ww2.actions.setup.SetupInvoker.execute(SetupInvoker.java:15)  
at com.atlassian.bamboo.ww2.actions.setup.SetupDefaultsAction.general(SetupDefaultsAction.java:40)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:899)  
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1544)  
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)  
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98)  
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90)  
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1620)  
at ognl.ASTMethod.getValueBody(ASTMethod.java:91)  
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)  
at ognl.SimpleNode.getValue(SimpleNode.java:258)  
at ognl.Ognl.getValue(Ognl.java:470)  
at ognl.Ognl.getValue(Ognl.java:434)  
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:401)  
at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:453)  
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:399)  
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438)  
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:293)  
at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:55)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratedErrorDetailsFactory' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'agentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManager' defined in class path resource \[applicationContextManagers.xml\]: Cannot create inner bean 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' of type \[com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'elasticAgentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticAgentManager' defined in class path resource \[applicationContextAgentServer.xml\]: Bean instantiation via constructor failed; nested exception is java.lang.ExceptionInInitializerError  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:639)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:153)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1267)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1124)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)  
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)  
... 49 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManager' defined in class path resource \[applicationContextManagers.xml\]: Cannot create inner bean 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' of type \[com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.buildqueue.manager.AgentManagerImpl#6d4d7ef6' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'elasticAgentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticAgentManager' defined in class path resource \[applicationContextAgentServer.xml\]: Bean instantiation via constructor failed; nested exception is java.lang.ExceptionInInitializerError  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:327)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1602)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1354)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)  
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)  
... 61 more


Answers:
author: product
body: No I can nat install yet


author: jsiroky
body: Hi,

I'm *having the same issue*. Is there any news?

Thank you

Jan


author: Chris Berry
body: Hi Erhan,

Welcome to the community.

The errors look to me like you may have a Java version mismatch.

Bamboo will only load correctly if you are using Java 8.

I suspect that you have Java 10 installed.

Please install Java 8 and set the JAVA_HOME and PATH to use the Java 8 directory.

thanks

Chris

Atlassian support- Bamboo

comments: author: product
body: Hi Chris,

Thanks for your answer

my java version is jdk1.8.0_191

JAVA_HOME is: C:\\Program Files\\Java\\jdk1.8.0_191

I installed other pc successfully but i can not install this pc

I can not understand