Bamboo 3.4.4 install error
Asked by Keith Miller:

Hey, I'm having an issue trying to install Bamboo. I get the following error when trying to connect to the external database:

* Database configuration failed:
* Error creating bean with name 'aggregatedChainErrorAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'errorHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorHandler' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'planManager' while setting bean property 'planManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionsInterceptor' defined in class path resource \[applicationContextAcegiAuthorization.xml\]: Cannot resolve reference to bean 'businessAccessDecisionManager' while setting bean property 'accessDecisionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessAccessDecisionManager' defined in class path resource \[applicationContextAcegiAuthorization.xml\]: Cannot resolve reference to bean 'aclBuildReadVoter' while setting bean property 'decisionVoters' with key \[1\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclBuildReadVoter' defined in class path resource \[applicationContextAcegiAuthorization.xml\]: Cannot resolve reference to bean 'sidRetrievalStrategy' while setting bean property 'sidRetrievalStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sidRetrievalStrategy' defined in class path resource \[applicationContextAcegiAuthorization.xml\]: Cannot resolve reference to bean 'bambooUserManager' while setting bean property 'bambooUserManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bambooUserManager' defined in class path resource \[applicationContextUser.xml\]: Cannot create inner bean 'com.atlassian.bamboo.user.BambooUserManagerImpl#27d08e21' of type \[com.atlassian.bamboo.user.BambooUserManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.user.BambooUserManagerImpl#27d08e21' defined in class path resource \[applicationContextUser.xml\]: Cannot resolve reference to bean 'loginInformationManager' while setting bean property 'loginInformationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginInformationManager' defined in class path resource \[applicationContextManagers.xml\]: Cannot create inner bean 'com.atlassian.bamboo.user.LoginInformationManagerImpl#60d8431c' of type \[com.atlassian.bamboo.user.LoginInformationManagerImpl\] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.user.LoginInformationManagerImpl#60d8431c' defined in class path resource \[applicationContextManagers.xml\]: Cannot resolve reference to bean 'administrationConfigurationManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'administrationConfigurationManager' defined in class path resource \[applicationContextLegacy.xml\]: Cannot resolve reference to bean 'persister' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persister' defined in class path resource \[applicationContextLegacy.xml\]: Cannot resolve reference to bean 'xStreamManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xStreamManager' defined in class path resource \[applicationContextCommon.xml\]: Cannot resolve reference to bean 'xStreamFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xStreamFactory' defined in class path resource \[applicationContextCommon.xml\]: Cannot resolve reference to bean 'xStreamConverters' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xStreamConverters': Cannot create inner bean 'com.atlassian.bamboo.serialization.xstream.DefaultConverterFactory#34e5307e' of type \[com.atlassian.bamboo.serialization.xstream.DefaultConverterFactory\] while setting bean property 'sourceList' with key \[2\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.serialization.xstream.DefaultConverterFactory#34e5307e' defined in class path resource \[applicationContextCommon.xml\]: 2 constructor arguments specified but no matching constructor found in bean 'com.atlassian.bamboo.serialization.xstream.DefaultConverterFactory#34e5307e' (hint: specify index and/or type arguments for simple parameters to avoid type ambiguities)


Answers:
author: Keith Miller
body: Silly me, this was because the JAVA_HOME environment variable was not properly set. Once that was set properly, this issue disappeared.