Deploying and Configuring with Oracle WebLogic |
Previous
|
|
Next
|
Deploying and Configuring with Apache Geronimo |
|
Installing the Repository |
Deploying and Configuring with Oracle WebLogic
This section explains how to configure and deploy the Semarchy Convergence for MDM Application with Oracle WebLogic Application Server.
Note: Refer to the WebLogic Documentation for more details about the deployment and configuration processes in WebLogic.
Note: Prior to configuring Semarchy, configure and start the WebLogic domain into which you plan to deploy and configure the Semarchy application.
Configuring the Security
To create the groups:
- Connect to the WebLogic Server Administration Console.
- Select
Security Realms from the left pane and then click the realm you are configuring.
- Select the
Users and Groups tab, then
Groups.
- Click
New.
- In the
Create a New Group page provide the following information:
-
Name:
semarchyConnectGroup
-
Provider:
DefaultAuthenticator
- Click
OK. The group is added to the
Groups table.
- Click
New.
- In the
Create a New Group page provide the following information:
-
Name:
semarchyAdminGroup
-
Provider:
DefaultAuthenticator
- Click
OK. The group is added to the
Groups table.
To create the semadmin user:
- Connect to the WebLogic Server Administration Console.
- Select
Security Realms from the left pane and then click the realm you are configuring.
- Select the
Users and Groups tab, then
Users.
- Click
New.
- In the
Create a New User page provide the following information:
-
Name:
semadmin
-
Provider:
DefaultAuthenticator
-
Password:
<semadmin_password>
- Click
OK. The user is added to the
Users table.
- Click the
semadmin
user from the
Users table, then select the
Groups tab.
- Select the
semarchyAdminGroup
and
semarchyConnectGroup
groups in the
Available group list, then click the Add button to add them to the
Chosen list.
- Click
Save to save the group membership.
To configure the roles mappings:
- Connect to the WebLogic Server Administration Console.
- Select
Security Realms from the left pane and then click the realm you are configuring.
- Select the
Roles and Policies tab, then
Realm Roles.
- In the
Roles hierarchy, select
Global Roles > Roles.
- In the
Global Roles table, select
New to create a new role with the following properties:
-
Name:
semarchyConnect
-
Provider Name:
XACMLRoleMapper
- Click
OK.
- Select the
semarchyConnect
role in the
Global Roles table.
- Click
Add Conditions.
- Select
Group
for the
Predicate List and then click
Next.
- In the
Group Argument Name, enter
semarchyConnectGroup
and then click
Add.
- Click
Finish.
- Click
Save.
- Use the breadcrumb to go to the
Global Roles.
- In the
Global Roles table, select
New to create a new role with the following properties:
-
Name:
semarchyAdmin
-
Provider Name:
XACMLRoleMapper
- Click
OK.
- Select the
semarchyAdmin
role in the
Global Roles table.
- Click
Add Conditions.
- Select
Group
for the
Predicate List and then click
Next.
- In the
Group Argument Name, enter
semarchyAdminGroup
and then click
Add.
- Click
Finish.
- Click
Save.
Setting up the Datasources
To configure the repository datasource:
- Connect to the WebLogic Server Administration Console.
- Select
Services > Data Sources from the left pane.
- Select
New > Generic Data Source in the
Data Sources table.
- Enter the following JDBC datasource properties:
-
Name:
SEMARCHY_REPOSITORY
-
JNDI Name:
jdbc/SEMARCHY_REPOSITORY
-
Database Type:
Oracle
- Click
Next.
- In the
Database Driver select
Oracle’s Driver (Thin) for Instance connections: Version:9.0.1 and later
.
- Click
Next.
- De-select the
Supports Global Transaction option.
- Click
Next.
- Enter the following connection properties:
-
Database Name:
<oracle_SID_name>
-
Host Name:
<oracle_instance_hostname>
-
Port:
<oracle_listener_port>
-
Database User Name:
<repository_user_name>
-
Password:
<repository_user_password>
- Click
Next.
- Click
Test Configuration to validate the connection information.
- In the
Properties field, add the following line:
defaultAutoCommit=false
- Click
Next.
- Select a deployment target (by default
Admin Server
) and then click
Finish
.
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 the data location datasource:
- Connect to the WebLogic Server Administration Console.
- Select
Services > Data Sources from the left pane.
- Select
New > Generic Data Source in the
Data Sources table.
- Enter the following JDBC datasource properties:
-
Name:
<data_location_datasource_name>
-
JNDI Name:
jdbc/<data_location_datasource_name>
-
Database Type:
Oracle
- Click
Next.
- In the
Database Driver select
Oracle’s Driver (Thin) for Instance connections: Version:9.0.1 and later
.
- Click
Next.
- De-select the
Supports Global Transaction option.
- Click
Next.
- Enter the following connection properties:
-
Database Name:
<oracle_SID_name>
-
Host Name:
<oracle_instance_hostname>
-
Port:
<oracle_listener_port>
-
Database User Name:
<data_location_user_name>
-
Password:
<data_location_user_password>
- Click
Next.
- Click
Test Configuration to validate the connection information.
- In the
Properties field, add the following line:
defaultAutoCommit=false
- Click
Next.
- Select a deployment target (by default
Admin Server
) and then click
Finish
.
Repeat this operation for each data location’s datasource.
To optionally configure the Pulse Metrics Warehouse datasource:
- Connect to the WebLogic Server Administration Console.
- Select
Services > Data Sources from the left pane.
- Select
New > Generic Data Source in the
Data Sources table.
- Enter the following JDBC datasource properties:
-
Name:
SEMARCHY_PULSE_METRICS
-
JNDI Name:
jdbc/SEMARCHY_PULSE_METRICS
-
Database Type:
Oracle
- Click
Next.
- In the
Database Driver select
Oracle’s Driver (Thin) for Instance connections: Version:9.0.1 and later
.
- Click
Next.
- De-select the
Supports Global Transaction option.
- Click
Next.
- Enter the following connection properties:
-
Database Name:
<oracle_SID_name>
-
Host Name:
<oracle_instance_hostname>
-
Port:
<oracle_listener_port>
-
Database User Name:
<pulse_user_name>
-
Password:
<pulse_user_password>
- Click
Next.
- Click
Test Configuration to validate the connection information.
- In the
Properties field, add the following line:
defaultAutoCommit=false
- Click
Next.
- Select a deployment target (by default
Admin Server
) and then click
Finish
.
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.
Deploying the Application
To deploy the application:
- Uncompress the
semarchy_war_only.zip
file in the
temp/
folder.
- Connect to the WebLogic Server Administration Console.
- Select
Deployments from the left pane.
- Click the
Install button.
- Click the
Upload your file(s)
link.
- Select for the
Deployment Archive the
temp/semarchy.war
file on your local disk.
- Click
Next and then
Next.
- In the
Choose target style page select
Install this deployment as an application and then click
Next.
- In the
Optional Settings page, in the
Security option group, select
Custom Roles: Use roles that are defined in the Administration Console; use policies that are defined in the deployment descriptor.
- Click
Next.
- In the
Review your choices and click Finish page Select
No, I will review the configuration later.
- Click
Finish.
The Semarchy application is deployed in the server.
Configuring JavaMail Session
This configuration is required for mail notifications using JEE Mail Session.
To configure JavaMail Session:
- Connect to the WebLogic Server Administration Console.
- Select
Services > Mail Sessions from the left pane.
- Click the
New button.
- In the
Mail Session Properties page, enter the following properties:
-
Name:
MailSession
-
JNDI Name:
mail/Session
- In the
JavaMail Properties, enter the following lines:
-
mail.transport.protocol=smtp
-
mail.smtp.host=<mail_server_host>
-
mail.port=<mail_server_port>
-
mail.smtp.auth=true
-
mail.smtp.user=<mail_user_name>
-
password=<mail_user_password>
- Click Save to save the mail session configuration.
Testing the Application
To test the application:
- Open a web browser.
- In the URL, enter:
http:/<weblogic_host>:<weblogic_port>/semarchy/
.
Tip: Proceed directly to the
Installing the Repository task.
Previous
|
Top
|
Next
|
Deploying and Configuring with Apache Geronimo |
|
Installing the Repository |