Bamboo Fails to start - Unable to enable plugin

お困りですか?

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

コミュニティに質問

症状

Bamboo server fails to run as a Windows service, whereas it works properly from command line through "BambooConsole.bat". The logs show this:

2012-07-02 11:13:12,857 ERROR [WrapperSimpleAppMain] [PluginEnabler] Unable to enable plugin com.atlassian.activeobjects.bamboo.spi
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.activeobjects.bamboo.spi
	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445)
	at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
	at com.atlassian.plugin.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:215)
	at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)

...

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.activeobjects.bamboo.spi [21]: Unable to resolve 21.0: missing requirement [21.0] package; (&(package=javax.sql)(version>=0.0.0.1_006_JavaSE)(version<=0.0.0.1_006_JavaSE))
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
	... 27 more

原因

An unsupported JDK gets picked up, and that's why plugins cannot be enabled.

ソリューション

Please verify if the JDK got changed on your machine and if the correct JDK gets picked up. Do you have your JAVA_HOME set up? If you have multiple JDKs and want to choose the one that Bamboo should use, you can edit the file conf/wrapper.conf and make changes to the line wrapper.java.command=java. An example is wrapper.java.command=C:\Program Files\Java\jdk1.6.0_35\bin\java

In addition, you might want to confirm that you are using a local user and that this user is allowed to run services as per this document: https://confluence.atlassian.com/display/BAMBOO/Running+Bamboo+service+on+Windows+as+the+local+user

Also, please verify that there are no file permission issues.

最終更新日 2013 年 6 月 25 日

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

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