Installation fails at the database set up stage on Solaris

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Running Bamboo with the "start-bamboo.sh" file on Solaris, it stops at the database configuration stage of the set up wizard and following error shows up in the logs:

2014-05-01 16:37:10,088 INFO [http-bio-8085-exec-25] [AccessLogFilter] 10.1.21.3 POST http://test.abcd.com:8085/setup/setupEmbeddedDatabase.action 179471kb
2014-05-01 16:37:10,258 INFO [setupEmbeddedDatabaseBackgroundThread] [BrokerService] Apache ActiveMQ 5.9.0 (bamboo, ID:scmhud01-39718-1398983808223-0:1) uptime 22.176 seconds
2014-05-01 16:37:10,258 INFO [setupEmbeddedDatabaseBackgroundThread] [BrokerService] Apache ActiveMQ 5.9.0 (bamboo, ID:scmhud01-39718-1398983808223-0:1) is shutdown
2014-05-01 16:37:10,261 INFO [setupEmbeddedDatabaseBackgroundThread] [ConfigurableLocalSessionFactoryBean] Closing Hibernate SessionFactory
2014-05-01 16:37:10,263 ERROR [setupEmbeddedDatabaseBackgroundThread] [ContextLoader] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.bamboo.security.trustedapplications.BambooAuthenticationListener] for bean with name 'authenticationListener' defined 
in class path resource [applicationContextManagers.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/atlassian/security/auth/trustedapps/seraph/filter/SeraphAuthenticationListener
Caused by: java.lang.NoClassDefFoundError: com/atlassian/security/auth/trustedapps/seraph/filter/SeraphAuthenticationListener
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
	at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1073)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:188)
	at com.atlassian.config.spring.BootstrappedContainerContext.refresh(BootstrappedContainerContext.java:22)
	at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.refreshSpringContextAndCreateDatabase(DefaultHibernateConfigurator.java:132)
	at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.configureDatabase(DefaultHibernateConfigurator.java:67)
	at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.bootstrapDatabase(DefaultAtlassianBootstrapManager.java:257)
	at com.atlassian.bamboo.setup.DefaultBootstrapManager.bootstrapDatabase(DefaultBootstrapManager.java:339)
	at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupStandardDatabase(SetupUtilityBean.java:180)
	at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupEmbeddedDatabase(SetupUtilityBean.java:170)
	at com.atlassian.bamboo.ww2.actions.setup.SetupEmbeddedDatabaseAction.executeOnce(SetupEmbeddedDatabaseAction.java:41)
	at com.atlassian.bamboo.ww2.actions.setup.SetupEmbeddedDatabaseAction.execute(SetupEmbeddedDatabaseAction.java:33)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
	at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:57)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: com.atlassian.security.auth.trustedapps.seraph.filter.SeraphAuthenticationListener
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	... 32 more

原因

JDK 1.6 is not supported and compatible when installing Bamboo on Solaris. 

ソリューション

Please download  the latest Java 1.7 JDK and set up JAVA_HOME variable pointing to the root directory of the JDK. refer to our supported platforms page for more details: Bamboo Supported platforms.

最終更新日 2018 年 11 月 1 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.