| This is documentation for Semarchy xDM 2023.2, which is no longer supported. For more information, see our Global Support and Maintenance Policy. |
Deploy Semarchy xDM to Jetty
This page explains how to configure and deploy the Semarchy xDM server with the Eclipse Jetty application server.
On this page, <jetty_home> refers to the Jetty server installation folder.
For more details about the deployment and configuration processes in Jetty, see the official Jetty documentation.
Install additional libraries
JDBC drivers
Install the JDBC drivers to connect the repository and data location databases, as well as the additional drivers required for the databases accessed by the xDM Dashboard charts and dashboards, or profiled by xDM Discovery.
To install the JDBC drivers:
-
Copy the appropriate database driver file from
temp/mdm-server/additional-libraries/to the<jetty_home>/lib/extdirectory. -
Copy additional drivers to the same directory.
Configure a JavaMail session
-
Edit the
<jetty_home>/etc/jetty.xmlfile and add the new JavaMail resource as described in the template below.
<New id="mail" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg><Ref refid="wac"/></Arg>
<Arg>mail/Session</Arg>
<Arg>
<New class="org.eclipse.jetty.jndi.factories.MailSessionReference">
<Set name="user"><mail_user_name></Set>
<Set name="password"><mail_user_password></Set>
<Set name="properties">
<New class="java.util.Properties">
<Put name="mail.transport.protocol">smtp</Put>
<Put name="mail.smtp.host"><mail_server_host></Put>
<Put name="mail.smtp.port"><mail_server_port></Put>
<Put name="mail.from"><mail_from_user_name></Put>
<Put name="mail.debug">true</Put>
</New>
</Set>
</New>
</Arg>
</New>
Deploy the application
|
Startup checklist
For the Semarchy xDM application to start correctly, make sure that your application server environment is correctly set up.
|
To deploy the application:
-
Copy the
temp/mdm-server/semarchy.warfile to the<jetty_home>/webapp/folder. -
Open a command line in the
<jetty_home>folder and then runjava -jar start.jarto start the Jetty server.
The Semarchy xDM application is deployed and the server started.