Deploy Semarchy xDM to Glassfish
This page explains how to configure and deploy Semarchy xDM to a Glassfish application server.
On this page, <glassfish_home>
refers to the Glassfish server installation folder.
For more details about the deployment and configuration processes in Glassfish, see the official Glassfish 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<glassfish_home>/glassfish/lib
directory. -
Copy additional drivers to the same directory.
After installing the libraries, restart the Glassfish server. |
Configure a JavaMail session
This configuration is required for mail notifications using JEE Mail Session.
To configure a JavaMail session:
-
Open the Glassfish WebAdmin interface (
http://<glassfish_host>:4848
). -
In the Common Tasks panel, select Resources > JavaMail Sessions.
-
Click the New button to create a new JavaMail session with the following properties:
-
JNDI Name:
mail/Session
-
Mail Host:
<mail_server_host>
-
Default User:
<mail_user_name>
-
Transport Protocol:
smtp
-
-
Add the following additional property to enable SMTP authentication:
-
mail.smtp.auth:
true
-
password:
<mail_user_password>
-
-
Click OK.
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:
-
Open the Glassfish WebAdmin interface (
http://<glassfish_host>:4848
). -
In the Common Tasks panel, select Applications.
-
Click the Deploy… button.
-
Select Local Packaged File or Directory …, and then click Browse Folders…
-
Select the
temp/semarchy_war/semarchy/
folder in the folder browser and click Choose Folder. -
Select
Web Application
for the Type and make sure the Status isEnabled
. -
Click OK to deploy the application.
The Semarchy xDM application is deployed in the server.