Open Documentation Menu

Configuring d.ecs monitor for d.3 repositories

ou can use a configuration file to make general settings for the application.The configuration file is located in the installation directory in the subfolder conf. The configuration file is called appsettings.config.

Example:

If the product is installed in the directory

C:\d3\d.ecs monitor for d.3 repositories\

so that the application is located in the directory

C:\d3\d.ecs monitor for d.3 repositories\bin\

then the configuration file must have the following path:

C:\d3\d.ecs monitor for d.3 repositories\conf\appsettings.config

The configuration values can be set via Call parameters - -configure.

With the call

"d.ecs monitor for d.3 repositories.exe" --configure port=4211

the value "4211" for the key "port" is stored in the configuration.

Alternatively, for manual adjustment: The empty appsettings.config file consists of the following XML root elements:

<?xml version="1.0" encoding="utf-8"?>
<appSettings>
</appSettings>

For each setting to be made, an item is then added below the <appSettings> node. The structure of these items is always as follows:

<add key="[key]" value="[value]" />

Values can be entered for the following keys:

System.BaseUri

  • This key determines the URI of d.ecs http gateway where the application registers itself

  • If this value is set, this overwrites a value from d.ecs jstore if necessary

port

  • This key can be used to specify a fixed port. The application then tries to use the default port at startup. If the port is already occupied, the application cannot start.

  • Possible values are integers.

  • If the key is not specified, a random port is used.

protocol:

  • This key determines with which protocol the web server of the application is to be started.

  • Possible values are "http" and "https".

  • If the key is not specified, "http" is used by default.

C:\d3\d.ecs monitor for d.3 repositories\