Deploy Semarchy xDM

The Semarchy xDM server is a Java EE application that can be deployed to various environments. It requires a Java EE applications server (such as Tomcat, JBoss/WildFly, etc.). This page details the steps required to configure the application server and deploy the application in the application server.

The instructions provided describe a generic method to configure the application server:

  • The method may vary depending on the application server version. Please refer to the application server documentation for the up-to-date instructions and instruction details.

  • This method also may vary depending on the best practices used in your information system. Please contact the application server administrator and review these instructions to adapt them to your practices.


For the purpose of this deployment procedure, the following variables names are used in the tasks:

  • The file refers to the xDM - Server Installation file you have downloaded to install Semarchy xDM. The name of this file varies as it includes the Semarchy xDM version and build number.

  • The temp folder refers to a temporary folder of your choice.

Configure the datasources

Semarchy xDM does not rely on JNDI datasources defined at the application-server level:

  • Two datasources - Repository Datasource and Repository Read-Only Datasource - defining the connections to the repository, are required for the application to start. They are configured as part of the Startup configuration.

  • Other datasources, for example, those required to deploy data locations, are configured in the Semarchy xDM platform after the installation is complete.

Make sure to install the JDBC Drivers of a database system before configuring a connection to this system. Refer to the instructions for each application server to install a JDBC driver.

Configure a JavaMail session

Semarchy xDM uses email servers, for example to send email notifications. For email features to work, you must configure an email notification server.

A notification server can be configured either:

  • By configuring the SMTP connection to the mail server in Semarchy xDM.

  • By referring to a JavaMail Session resource configured in the application server.

If a JavaMail session resource is already configured in the application server, you can skip these steps. You can reuse the existing JavaMail session resources when configuring the notification server.

Configure an HTTP proxy

Components of Semarchy xDM act as HTTP clients. These components include the REST clients, the HTTP notification servers, the License synchronization process, and the built-in plug-ins using internet-based services.
Depending on your enterprise network configuration, these HTTP client components may need to use a proxy to access the servers they need to connect to.

You can configure the proxy for the application server using system properties.

These system properties include:

  • http.proxyHost or https.proxyHost: the host name of the proxy server

  • http.proxyPort or :`https.proxyPort` the proxy server port number (default: 80 or 443)

  • http.nonProxyHosts: list of hosts that can be reached without the proxy. This list of patterns is separated by |.

See the reference documentation for a complete list of proxy parameters.

Download Semarchy xDM

The xDM - Server Installation package ( contains Semarchy xDM passive and active Web Application Archive (WAR) files to deploy in an application server.

Download this file from the Semarchy website, at the following URL:

  1. Uncompress this file in the temp folder.

The table below lists the contents of this file for reference.

Table 1. Semarchy xDM - Server Installation file contents
File/Folder Description


File describing the package

Installation files for Semarchy xDM


Semarchy xDM deployable WAR file.


Semarchy xDM deployable WAR file for passive instances. Use this version for deploying xDM in an existing supported application server for high availability.

Sample configuration files


Sample startup configuration using environment variables set in the Tomcat configuration file (Windows).

Sample startup configuration using environment variables set in the Tomcat configuration file (Linux/Unix).

Sample startup configuration file using properties.


Sample configuration for Apache Tomcat.

JDBC Driver and Additional libraries


Oracle JDBC driver for Oracle Database version 12c. If you are using an older Oracle version, it is recommended to review the compatibility of this driver with your Oracle database version and possibly install to an older driver version instead (ojdbc6 or ojdbc7).


PostgreSQL JDBC Driver.<version>.jar

SQL Server JDBC Driver.


Library to install to enable JavaMail for Apache Tomcat. Ignore this file if you are using a different application server.


Additional libraries required for Tomcat.

Deploy the application

Startup checklist

For the Semarchy xDM application to start correctly, make sure that your application server environment is correctly set up.

  • The repository and the data locations database schemas are created.

  • The driver libraries are installed in the application server.

  • The startup configuration is set to connect the repository schema.

  • For an initial startup, the setup token environment variable is set to be able to authenticate and create the repository.

The application is deployed by default with the semarchy context. Therefore it is accessible on the application server on the following URL: http://<application_server_host>:<application_server_port>/semarchy/.

During the application deployment, it is possible to use a different context than semarchy. If you use a different context, make sure to take it into account in the URL to test and connect to the application.