Configuring system properties

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

Linux

To configure system properties in Linux installations:

  1. <installation-directory>/bin/setenv.sh ファイルを編集します。 
  2. Find the section JAVA_OPTS=.
  3. To add or modify a system property, use the available parameters from Recognized system properties. To remove a system property, delete it from the list inside the quotation marks. 

    Add all parameters in a space-separated list, inside the quotations. Make sure to keep the string ${JAVA_OPTS}" in place.

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

To configure system properties in Windows installations:

  1. <installation-directory>/bin/setenv.bat ファイルを編集します。 

  2. Find the section set JAVA_OPTS=%JAVA_OPTS%.

  3. To add or modify a system property, use the available parameters from Recognized system properties. To remove a system property, delete it from the list inside the quotation marks. 

    Add all parameters in a space-separated list, inside the quotations. Make sure to keep the string %JAVA_OPTS% in place.

Windows サービス

There are two ways to configure system properties when you start Crowd automatically on Windows as a Service: either via command line or in the Windows Registry.

Set properties for Windows services via the command line

  1. Identify the name of the Crowd service installed in Windows. Select Control Panel > Administrative Tools > Services. In the following example, the service name is Tomcat9.
    Service name example

  2. Select Start, and then select cmd.exe to open the command window.

  3. Change directory to the bin directory of your Crowd instance.

  4. Run the following command: tomcat9w //ES//<SERVICENAME>. According to the previous example of the service name, it would be tomcat9w //ES//Tomcat9.  

    The Tomcat version number may be different if you're using an earlier version of Crowd.

  5. Select the Java tab to view the list of current start-up options.

  6. Add the new option on a separate line at the end of the existing list of Java Options. Refer to the list of parameters in Recognized System Properties. To remove a property, delete the corresponding line.
    Setting system properties via editing the service

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

In some versions of Crowd, there is no option to add Java variables to the service. In these cases, you must add the properties to the option list in the registry:

  1. Select Start, and then select regedit.exe.

  2. Find the Services entry.

    1. For 64bit Windows operating system, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > WOW6432Node > Apache Software Foundation > Procrun 2.0 > Tomcat > Parameters > Java, and then select your Crowd service name.

    2. For 32bit Windows operating system, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Apache Software Foundation > Procrun 2.0 > Tomcat > Parameters > Java, and then select your Crowd service name.
      Setting system properties via registry editor

  3. To change existing properties, double-click the appropriate value.

  4. 追加のプロパティを変更するには、オプションをダブルクリックします。

  5. Enter each property on a separate line. Refer to the list of parameters in Recognized system properties.
    Options window for Setting system properties via registry editor

Crowd Data Center deployed in AWS

If you used a Quick Start or CloudFormation template to deploy Crowd Data Center in AWS, you need to pass system properties via the CloudFormation Template, instead of using the previously described methods.

To modify system properties:

  1. In the AWS Management Console, navigate to your CloudFormation service and locate the stack for your Crowd Data Center deployment.

  2. Select Update Stack.

  3. Under Advanced, enter system properties in the Catalina Properties field as follows: 

    -Xms1024m -Xmx1024m -Dsystemproperty=value
  4. Changes will be applied during the provisioning of new nodes. 

認識済みのシステム プロパティ

Check Recognized system properties for the full list of system properties available in Crowd.



最終更新日 2025 年 8 月 8 日

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

はい
いいえ
この記事についてのフィードバックを送信する

このセクションの項目

Powered by Confluence and Scroll Viewport.