When you start with the start confluence automatically on Windows as a Service, you have the following 2 ways to configure your System Properties: command line or in the Windows Registry
To set properties for a Windows service by means of a command line
How to set properties for a Windows server by command line mode:
- Locate the service name that confluence installed in Windows (Access Control Panel >Administrative Tools (administrativetools) > Services ( Services)):
In the example above, the service name is named Confluence121213135538.
- Open the Windows command-line window (select start> cmd.exe)
cd
Go to the directory where you installed the confluence instance bin
, and then run the following command:
tomcat8w //ES//<SERVICENAME> |
In the example above, this command should be modified totomcat8w //ES//Confluence121213135538
Depending on the version you use with Confluence, the version number of Tomcat may be different.
- Click
Java
the tabs to see a list of currently launched options:
- Apply a new line selection, or modify the options, by adding options to the existing Java options list. Please refer to the contents of the recognized System Properties page to configure the property parameters.
To set properties for Windows services through Windows Registry
In some Windows versions, there may be no way to add Java variables for the startup service. If this is the case for your Windows, you must add properties by looking at the list of options in the registry.
- Go to Registry Editor ( start > regedit.exe).
- Locate the Services entity
HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name
- Modify a property that already exists, and you can modify the variable name by double-clicking it.
- To modify other properties, double-click the option name.
- Please refer to the contents of the recognized System Properties page to configure each row of variables.
Confluence data center deployed on AWS
If you are using a Quick Start or cloudformation template, deploy Confluence data center to AWS. You need to pass configuration parameters through the Cloud formation Template, please do not use the method described above.
- In the AWS console, select the Update Stack
- Enter your system properties in the Catalina properties field in Advanced:
-Xms1024m -Xmx1024m -Dsystemproperty=value |
- The modifications will be applied to the new node.
Https://www.cwiki.us/display/CONF6ZH/Configuring+System+Properties
Confluence 6 Configuring Windows Services