This page describes how to set Java properties and options on startup for Bamboo.

On this page:

Linux

Linux インストールでシステム プロパティを設定する方法
  1. <bamboo-install>/bin から、setenv.sh を開きます。
  2. JVM_SUPPORT_RECOMMENDED_ARGS= セクションを探します。
  3. Refer to the list of parameters below.

(info) 引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。

Windows (.batファイルから起動)

Windowsインストールで .bat ファイルから起動する際にシステム プロパティを設定する方法
  1. <bamboo-install>/bin から、setenv.bat を開きます。
  2. set JVM_SUPPORT_RECOMMENDED_ARGS= セクションを探します。
  3. Refer to the list of parameters below.

(info) 引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。

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 サービスのプロパティをコマンド ラインから設定する
  1. Identify the name of the service that Bamboo is installed as in Windows ( Control Panel > Administrative Tools > Services ):


  2. Start >> Run >> type in 'cmd' >> Enter でコマンド ウィンドウを開きます。
  3. cd to the bin directory of your Bamboo installation directory
  4. 次のコマンドを実行します。

    tomcat7w //ES//%SERVICENAME%
    

    (info) In the above example, it would be tomcat7w //ES//Bamboo

  5. Click on the Java tab to see the list of current start-up options:
  6. 新しいオプションを追加する場合は、既存の Java オプションの最後に新しい行として追加します。以下のパラメーター一覧を参照してください。

 

Windows レジストリで Windows サービスのプロパティを設定する

Windows の一部のバージョンには、Java 変数をサービスに追加するオプションがありません。この場合、レジストリ内のオプション一覧を表示してプロパティを追加する必要があります。

Windows サービスのプロパティを Windows レジストリで設定する方法
  1. Go to Start >> Run, and run "regedit32.exe".
  2. 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
  3. To change existing properties, especially increasing Xmx memory, double-click the appropriate value.
  4. To change additional properties, double-click options.
  5. Refer to the list of parameters below. Enter each on a separate line.

 

起動パラメーターの一覧

Memory Property

注意

Related Pages

-Xmx 
-Xms 
XX:MaxPermSize

これらのプロパティはすでに存在します。詳しくは関連ページを参照してください。

Tuning the Java heap

-XX:+PrintGCTimeStamps -verbose:gc -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError

ガベージ コレクションのチューニングの際に設定します。

Tuning Java VM garbage collection

 

 

  • ラベルなし

6 Comments

  1. If you change the HTTP port for Bamboo after running the Setup Wizard, you must also update the following settings, to reflect the change:

    • The Base URL of the Bamboo server
    • The URL in the command line used to start any Remote Agents (excluding Elastic Agents)
  2. Steven T. Snyder

    Under Linux it says "Refer to the list of parameters below.". There is no list of parameters on the current version of the page.

    1. NathanA

      Apologies, 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.

  3. Abhinav Mishra

    How 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.

    1. James Dumay

      Abhinav Mishra, in conf/server.xml you need to change 8085 to the port that you wish to use

          <Service name="Catalina">
              <Connector port="8085"...
      1. Abhinav Mishra

        Well... finally figured it. It is safer to do default HTTP port change before starting the Bamboo for the first time.