Altova DiffDog Server 2023 

Server Configuration File

Home Prev Top Next

After installation, DiffDog Server contains a server configuration file called server_config.ini located in the application data directory. The application data directory depends on the operating system:









To create a DiffDog Server configuration file with the default configuration settings, run the createconfig command.


The server configuration file includes the following options.





Defines the address (HTTP interface) on which DiffDog Server should listen for HTTP requests. This should be an IP address from one of the network interfaces configured at the machine or the name localhost. To have DiffDog Server listen on all interfaces, set this value to If it should listen for local requests only, set this value to


An alias is a directory path on the server that clients are allowed to access when performing remote comparisons. This option controls the level of detail that clients can see when they run the aliases command. It is meaningful if the restrict-to-aliases option is set to true. Valid values:


Allow clients to view the list of aliases defined on the server along with the paths to which each alias points.


Allow clients to view just the list of aliases defined on the server; do not show any paths.

See also: Restricting Access to Server Paths


This option lets you specify the path to a Java VM (Virtual Machine) required for Java-specific tasks such as connecting to a database through JDBC.


Note that adding a custom Java VM path is typically not necessary. By default, the application attempts to detect the Java VM path automatically based on the JAVA_HOME environment variable. On Windows, the Java VM path is determined by reading (in this order) the Windows registry and the JAVA_HOME environment variable.


The custom path added in the jvm-location option will take priority over any other Java VM path detected automatically. If set, the path must point to the jvm.dll (Windows), (Linux), or libjvm.dylib (macOS) file found in the JDK installation directory.


Specifies the language of the command line interface. Valid values are en, de, es, fr, ja (English, German, Spanish, French, and Japanese).


Defines the port on which DiffDog Server should listen for HTTP requests.


Restricts access to server paths for remote clients connecting to DiffDog server. Valid values:


Access to server paths is restricted. If you set this value, then at least one [alias:<identifier>] must be defined in the configuration file as well, see below. Any server paths outside of the alias directory are not accessible to remote clients and cannot be included in comparisons.


Access to server paths is not restricted.


Defines the name and location of the server's log file. This file contains general activity events logged by the server, including licensing events.


Specifies the directory where the output of all submitted jobs is saved.


When set to True (the default value), output files are written directly to the location specified by the user (possibly overwriting existing files of the same name). Setting the value to True is meaningful if the client and server are on the same machine and you want to write the output files to any directory on that machine.


When set to False, output files are written to the output directory (see the server.output-root-dir option).



An alias is a directory path on the server that clients are allowed to access when performing remote comparisons. Creating aliases is meaningful if the option restrict-to-aliases=true. When restrict-to-aliases=true, clients must always specify the --alias option when running a comparison that includes server paths. For an example, see Restricting Access to Server Paths.


You can create multiple aliases, for example [alias:name1], [alias:name2], and so on. The name of each alias must be unique. An alias can have only one option: path.





The path to the directory that DiffDog Command Line clients are allowed to access on the server.


For example, the following configuration creates an alias called sandbox for the directory C:\Public.



path = C:\Public


restrict-to-aliases = true



A [datasource] section defines the connection details to a database, and specifies various other parameters applicable when performing database comparisons. You can create multiple data sources if necessary. For more information, see Setting up Data Sources.

© 2016-2022 Altova GmbH