This page describes how to set Java properties and options on startup for Bamboo.
On this page:
Linux
Linux インストールでシステム プロパティを設定する方法
<bamboo-install>/binから、setenv.sh を開きます。- JVM_SUPPORT_RECOMMENDED_ARGS= セクションを探します。
- Refer to the list of parameters below.
引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。
Windows (.batファイルから起動)
Windowsインストールで .bat ファイルから起動する際にシステム プロパティを設定する方法
<bamboo-install>/binから、setenv.bat を開きます。- set JVM_SUPPORT_RECOMMENDED_ARGS= セクションを探します。
- Refer to the list of parameters below.
引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。
Windows サービス
There are two ways to configure system properties when starting Bamboo as a service, either via the command line or in the Windows registry.
Windows サービスのプロパティをコマンド ラインから設定する
Windows サービスのプロパティをコマンド ラインから設定する
- Identify the name of the service that Bamboo is installed as in Windows (
Control Panel > Administrative Tools > Services): Start >> Run >> type in 'cmd' >> Enterでコマンド ウィンドウを開きます。cdto thebindirectory of your Bamboo installation directory次のコマンドを実行します。
tomcat7w //ES//%SERVICENAME%
In the above example, it would be
tomcat7w //ES//Bamboo- Click on the
Javatab to see the list of current start-up options: - 新しいオプションを追加する場合は、既存の Java オプションの最後に新しい行として追加します。以下のパラメーター一覧を参照してください。
Windows レジストリで Windows サービスのプロパティを設定する
Windows の一部のバージョンには、Java 変数をサービスに追加するオプションがありません。この場合、レジストリ内のオプション一覧を表示してプロパティを追加する必要があります。
Windows サービスのプロパティを Windows レジストリで設定する方法
- Go to
Start >> Run, and run "regedit32.exe". - Find the Services entry:
32-bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Bamboo
64-bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> Apache Software Foundation >> Procrun 2.0 >> Bamboo - To change existing properties, especially increasing Xmx memory, double-click the appropriate value.
- To change additional properties, double-click options.
- Refer to the list of parameters below. Enter each on a separate line.
起動パラメーターの一覧
Memory Property | 注意 | Related Pages |
|---|---|---|
-Xmx | これらのプロパティはすでに存在します。詳しくは関連ページを参照してください。 | |
-XX:+PrintGCTimeStamps -verbose:gc -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError | ガベージ コレクションのチューニングの際に設定します。 |

6 Comments
Adrian Hempel [Atlassian]
Feb 26, 2009If you change the HTTP port for Bamboo after running the Setup Wizard, you must also update the following settings, to reflect the change:
Steven T. Snyder
Nov 27, 2013Under Linux it says "Refer to the list of parameters below.". There is no list of parameters on the current version of the page.
NathanA
Nov 28, 2013Apologies, the link referred to a page in the JIRA space that had broken inclusions. I have added the relevant parameters to the bottom of this page.
I hope that helps.
Abhinav Mishra
Jan 30, 2014How can I change the default Bamboo port?
(In conf/server.xml) If I change connector port for Catalina to 4045, I get errors from StandardServer that port 8007 is not available.
Stuck with it.
James Dumay
Jan 30, 2014Abhinav Mishra, in conf/server.xml you need to change 8085 to the port that you wish to use
<Service name="Catalina"> <Connector port="8085"...Abhinav Mishra
Jan 30, 2014Well... finally figured it. It is safer to do default HTTP port change before starting the Bamboo for the first time.