Configure Runtime Java Options

Java options are usually added to the runtime Java command with the -D<option-name>=<option-value> syntax. You can also set them in the runtime configuration file engineParameters.xml file.

Options specified in the runtime configuration are loaded after the runtime starts. As a consequence, certain Java options such as the memory settings cannot be specified with this method.

Configure Java Options

To configure the runtime java options:

  1. Edit the engineParameters.xml file.

  2. Configure the Java options under the <javaConfiguration> node, as shown in the below example.

  3. Restart the runtime or reinstall the runtime service.

<parameters>
  <...>
  <javaConfiguration>
    <property name="myOption01" value="value01"/>
    <property name="myOption02" value="value02"/>
    <...>
  </javaConfiguration>
  <...>
</parameters>

System Properties

The com.semarchy.xdi.graceful-shutdown-delay system property can be used to configure a graceful shutdown of the runtime.

Runtime graceful shutdown
-Dcom.semarchy.xdi.graceful-shutdown-delay=30s