How to set system properties for Confluence running as a service on Windows

お困りですか?

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

コミュニティに質問

目的

When running Confluence as a service on Windows it does not recognize the system properties set in setenv.bat and instead loads them from Tomcat. These are instructions on how to modify these properties.

ソリューション

  1. Control Panel > Administrative Tools > Services で、Windows にインストールされている Confluence サービスの名前を特定します。

    (info) 上述の例では、SERVICENAMEJIRA030908110721 です (これは Jira のスクリーンショットですが Confluence にも同様に適用できます)。
  2. Start >> Run >> type in 'cmd' >> Enter でコマンド ウィンドウを開きます。
  3. cd to the bin directory of your Confluence instance
  4. Type and run the following (change tomcat9w to whatever version you are using):

    tomcat9w //ES//<Your_Service_Name>
  5. Java タブをクリックして、現在の起動オプションの一覧を表示します。
    1. You can set Initial and the maximum memory allocation here via Initial/Maximum memory pool
    2. You can add System Properties to the Java Options field (one per line)
Last modified on Mar 21, 2024

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

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