Deploying and Configuring with Apache Geronimo | ||
---|---|---|
Previous | Next | |
Deploying and Configuring with GlassFish | Deploying and Configuring with Oracle WebLogic |
This section explains how to configure and deploy the Semarchy Convergence for MDM Application with Apache Geronimo Application Server.
In this section,
<geronimo_home>
refers to the Glassfish server installation folder.
Note: Refer to the Geronimo Documentation for more details about the deployment and configuration processes in Geronimo.
To install the Oracle JDBC Driver:
http://<geronimo_host>:8080/console
).
ojdbc6.jar
).
oracle
jdbc
11.2.0
(set here the oracle driver version)
jar
To create the groups:
http://<geronimo_host>:8080/console
).
semarchyAdminGroup
semarchyConnectGroup
To create the semadmin user:
http://<geronimo_host>:8080/console
).
semadmin
semarchyAdminGroup
<semadmin_password>
semarchyConnectGroup
line.
semadmin
user in the list of users and click the
Add >> button.
The semadmin user is created and added to the two groups.
Note: With Geronimo, the roles/groups mappings are performed at a later stage in the application deployment plan.
To configure the repository datasource:
http://<geronimo_host>:8080/console
).
SEMARCHY_REPOSITORY
Oracle Thin
oracle/jdbc/11.2.0/jar
driver previously added in the repository.
<repository_user_name>
<repository_user_password>
<oracle_instance_hostname>
<oracle_service_name>
<oracle_listener_port>
To configure a data location datasource:
http://<geronimo_host>:8080/console
).
<data_location_datasource_name>
Oracle Thin
oracle/jdbc/11.2.0/jar
driver previously added in the repository.
<data_location_user_name>
<data_location_user_password>
<oracle_instance_hostname>
<oracle_service_name>
<oracle_listener_port>
Repeat this operation for each data location’s datasource.
The repository and data location datasources are now configured, pointing to the schemas previously created.
To deploy the application:
semarchy_war_only.zip
file in the
temp/
folder.
http://<geronimo_host>:8080/console
).
temp/semarchy.war
archive file.
jdbc/SEMARCHY_REPOSITORY
by selecting the
SEMARCHY_REPOSITORY
JDBC pool.
semarchyConnect
role, select the following options:
Principal
semarchyConnectGroup
Group Principal
<sec:role-mappings>
with the section given below and click
Deploy WAR to deploy the application.
<sec:role-mappings>
<sec:role role-name="semarchyConnect">
<sec:principal name="semarchyConnectGroup" class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
</sec:role>
<sec:role role-name="semarchyAdmin">
<sec:principal name="semarchyAdminGroup" class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
</sec:role>
</sec:role-mappings>
To test the application:
http:/<geronimo_host>:<geronimo_port>/semarchy/
.
Tip: Proceed directly to the Installing the Repository task.
Previous | Top | Next |
Deploying and Configuring with GlassFish | Deploying and Configuring with Oracle WebLogic |