Deploying and Configuring with GlassFish | ||
---|---|---|
Previous | Next | |
Deploying and Configuring with JBoss | Deploying and Configuring with Apache Geronimo |
This section explains how to configure and deploy the Semarchy Convergence for MDM Application with Glassfish Application Server.
In this section,
<glassfish_home>
refers to the Glassfish server installation folder.
Note: Refer to the Glassfish Documentation for more details about the deployment and configuration processes in Glassfish.
To install the Oracle JDBC driver:
ojdbc6.jar
) in the
<glassfish_home>/glassfish/lib
directory.
Note: After installing the libraries, restart the Glassfish server.
Warning: The configuration in this section uses the default File Realm and may be changed to your enterprise’s type of realm.
To configure the security realm:
http://<glassfish_host>:4848
).
SemarchyRealm
com.sun.entreprise.security.auth.realm.file.FileRealm
fileRealm
${com.sun.aas.instanceRoot}/config/keyfile
To configure the semadmin user:
semadmin
semarchyAdminGroup,semarchyConnectGroup
<semadmin_password>
The configured realm uses the default Java Authorization Contract for Containers (JACC) provider included in Glassfish. This JACC provider does not support dynamic roles, and mandates that the mappings between Groups and Roles are defined in the deployed application descriptor file.
To define the groups/roles mappings:
semarchy_war_only.zip
file in the
temp/
folder on the Glassfish server.
semarchy.war
file in the
temp/semarchy_war_only/
folder.
temp/semarchy_war_only/semarchy/WEB-INF/glassfish-web.xml
file.
<glassfish-web-app>
element and then save the file.
<security-role-mapping>
<role-name>semarchyConnect</role-name>
<group-name>semarchyConnectGroup</group-name>
</security-role-mapping>
<security-role-mapping>
<role-name>semarchyAdmin</role-name>
<group-name>semarchyAdminGroup</group-name>
</security-role-mapping>
Warning: To add new Semarchy roles after the initial setup and map them to Glassfish groups, you must modify this file and redeploy the application.
To configure the repository datasource:
http://<glassfish_host>:4848
).
SEMARCHY_REPOSITORY
java.sql.ConnectionPoolDataSource
Oracle
<repository_user_name>
<repository_user_password>
jdbc:oracle:thin:
@
<oracle_instance_hostname>:<oracle_listener_port>:<oracle_SID_name>
50
jdbc/SEMARCHY_REPOSITORY
SEMARCHY_REPOSITORY
Enabled
Note: In the Pool Settings, it is recommended to tune the Minimum Pool Size and Maximum Pool Size properties according to your needs. Having a pool size between 1 and 8 connections is typically sufficient for testing purposes.
Important: Do not change the JNDI Name of the SEMARCHY_REPOSITORY datasource. The application refers to a datasource with this name for the repository.
To configure a data location datasource:
http://<glassfish_host>:4848
).
<data_location_datasource_name>
java.sql.ConnectionPoolDataSource
Oracle
<data_location_user_name>
<data_location_user_password>
jdbc:oracle:thin:
@
<oracle_instance_hostname>:<oracle_listener_port>:<oracle_SID_name>
50
jdbc/<data_location_datasource_name>
<data_location_datasource_name>
Enabled
Note: In the Pool Settings, it is recommended to tune the Minimum Pool Size and Maximum Pool Size properties according to your needs. Having a pool size between 1 and 8 connections is typically sufficient for testing purposes.
Repeat this operation for each data location’s datasource.
To optionnally configure the Pulse Metrics Warehouse datasource:
http://<glassfish_host>:4848
).
SEMARCHY_PULSE_METRICS
java.sql.ConnectionPoolDataSource
Oracle
<pulse_user_name>
<pulse_user_password>
jdbc:oracle:thin:
@
<oracle_instance_hostname>:<oracle_listener_port>:<oracle_SID_name>
50
jdbc/SEMARCHY_PULSE_METRICS
SEMARCHY_PULSE_METRICS
Enabled
Note: In the Pool Settings, it is recommended to tune the Minimum Pool Size and Maximum Pool Size properties according to your needs. Having a pool size between 1 and 8 connections is typically sufficient for testing purposes.
Important: Do not change the JNDI Name of the SEMARCHY_PULSE_METRICS datasource. The application refers to a datasource with this name for the Pulse Metrics Warehouse.
The repository and data location datasources are now configured, pointing to the schemas previously created.
This configuration is required for mail notifications using JEE Mail Session.
To configure JavaMail Session:
http://<glassfish_host>:4848
).
mail/Session
<mail_server_host>
<mail_user_name>
smtp
true
<mail_user_password>
To deploy the application:
http://<glassfish_host>:4848
).
temp/semarchy_war_only/semarchy/
folder in the folder browser and click
Choose Folder.
Web Application
for the
Type and make sure the
Status is
Enabled
.
The Semarchy application is deployed in the server.
To test the application:
http:/<glassfish_host>:<glassfish_port>/semarchy/
.
Tip: Proceed directly to the Installing the Repository task.
Previous | Top | Next |
Deploying and Configuring with JBoss | Deploying and Configuring with Apache Geronimo |