Deploy Semarchy xDM to Glassfish
This document explains how to configure and deploy the Semarchy xDM Server with Glassfish Application Server.
In this document, <glassfish_home>
refers to the Glassfish server installation folder.
Refer to the Glassfish Documentation for more details about the deployment and configuration processes in Glassfish. |
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 JavaMail Session
This configuration is required for mail notifications using JEE Mail Session.
To configure 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.