3 BDI Batch Job Admin

This chapter describes the procedure you must use to install the JRF domain and deploy the BDI Batch Job Admin application. For more information about domain creation and other server related information, see the WebLogic application server documents.

Installation and Setup Instructions

This section describes the installation and setup instructions including the installation prerequisites, preparing the WebLogic server, creating a WebLogic domain, and deploying the WAR file.

Prerequisites

The BDI Batch Job Admin application requires Oracle WebLogic server 12c (12.2.1.4.0), built with Java 8 (JDK 1.8 64 bit with the latest security updates).

The recommended Java VM memory setting for the Job Admin application domain is:

-Xms1024m -Xmx2048m

Installing WebLogic

To obtain WebLogic 12c (12.2.1.4.0), go to the Oracle Technology Network and take the following steps.

  1. Find fmw_12.2.1.4.0.0_infrastructure_Disk1_1of1.zip and download this file to your system.

  2. Extract the contents of this zip file to your system. You will use the fmw_12.2.1.4.0.0_infrastructure.jar file to run the installer.

  3. Run the installer by executing the jar file:

    java -jar fmw_12.2.1.4.0.0_infrastructure.jar

    The Welcome window appears.

    Welcome window
  4. Click Next. The Auto Updates window appears.

    Auto Updates
  5. Select the appropriate radio button and click Next. The Installation Location window appears.

    Installation Location window
  6. Click Browse to select the Oracle Home location where the Weblogic Server is to be installed.

  7. Click Next. The Installation Type window appears.

    Installation Type window
  8. Select Fusion Middleware Infrastructure (JRF and Enterprise Manager) and click Next. The installer performs the pre-requisite checks and ensures all required conditions are satisfied.

    pre-requisite checks
  9. When the prerequisite check completes successfully, click Next. The Security Updates window appears.

    Security Updates window
  10. Provide information and click Next.

    installation summary
  11. Click Install. The Installation Progress window appears.

    Installation Progress window
  12. Click Next when the installation completes. The Installation Complete window appears.

    Installation Complete window

Creating the Required Schema Using the Repository Creation Utility

Perform the following procedure to create a schema user for the domain:

  1. Run the RCU from the <MW_HOME>/oracle_common/bin folder. The Welcome window appears.

    Welcome window
  2. Click Next and select the Create Repository option.

    Create Repository
  3. Click Next. Enter the database credentials where the schema user has to be created.

    database credentials
  4. Click Next. Specify the prefix to be used for the schema user creation. For example, INT. Select Metadata Services, WebLogic Services, and Oracle Platform Security Services.

    Specify the prefix
  5. Click Next. Specify the password.

    Specify the password
  6. Click Next. The window provides the details of tablespaces created as part of schema creation.

    tablespaces
  7. Click Next. The Confirmation window appears.

    Confirmation window
  8. Click OK. The Summary window appears.

    Summary window
  9. Click Create and proceed to create the schema. This could take a while to complete. The Completion Summary window appears.

    Completion Summary window

Creating a WebLogic Domain with JRF

Perform the following procedure to create a new WebLogic domain with JRF:

  1. Run the config.sh from <ORACLE_HOME>/oracle_common/common/bin folder. The Configuration Type window appears.

    Configuration Type Window
  2. Select Create a new domain, provide domain location, and click Next. The Templates window appears. By default, the Basic WebLogic Server Domain - 12.2.1.4.0 [wlserver] checkbox is selected.

    Select the Oracle JRF - 12.2.1.4.0.0 [oracle_common], Oracle Enterprise Manager [em], and Oracle WSM Policy Manager - 12.2.1.4.0 [oracle_common] check boxes.

    Create New Domain
  3. Click Next. The Administrator Account window appears. Enter the user credentials you want to use to log in to the WebLogic Administration Console.

    Administration Account
  4. Click Next. The Domain Mode and JDK window appears. Set the Domain Mode as Production and select the JDK version (JDK 1.8 with the latest security updates) you want to use.

    Domain Mode and JDK
  5. Click Next. The Database Configuration Type window displays.

    1. Select the RCU Data radio button.

    2. Select Oracle as the Vendor.

    3. Select Oracle's Driver (Thin) for Service connections; Version 9.0.1 and later as the Driver.

    4. Enter the Service, Host Name, Port, Schema Owner, and Schema Password for the *_STB schema created using RCU.

    5. Click Get RCU Configuration.

    The Connection Result Log displays the connection status.

    Connection Result Log
  6. Click Next. The JDBC Component Schema window appears.

    JDBC Component Schema
  7. Click Next. The JDBC Component Schema Test window displays the status on whether the JDBC tests on the schemas were successful.

    JDBC Component Schema Test
  8. Click Next. The Advanced Configuration window displays. Select all the checkboxes, except Domain Frontend Host Capture and JMS File Store options, in this window.

    Advanced Configuration
  9. Click Next. The Administration Server window appears. Enter the Listen Address and the Listen Port details.

    Administration Server
  10. Click Next. The Node Manager window appears. Select the Node Manager Type and enter the Node Manager Credentials.

    Node Manager
  11. Click Next. The Managed Servers window appears.

    1. Click Add to add a managed server on which you will deploy the application.

    2. Enter the Server Name, Listen Address, and Listen Port for the managed server.

    3. Set the Server Groups to JRF-MAN-SVR.

    Managed Servers
  12. Click Next. The Clusters window appears.

    1. Click Add to add a cluster. This is an optional step in the procedure.

    Clusters
  13. Click Next. The Coherence Clusters window appears.

    1. Add a coherence cluster. This is an optional step in the procedure.

    Coherence Clusters
  14. Click Next. The Machine window appears.

    1. Click Add.

    2. Enter the Name and the Node Manager Listen Address for the managed server.

    Node Manager Listen Address
  15. Click Next. The Assign Servers to Machines window appears. Add the Admin Server and the managed server to the computer.

    Assign Servers to Machines
  16. Click Next. The Deployments Targeting window appears. Select wsm-pm from Deployments and add it to Admin Server in Targets.

    Deployments Targeting
  17. Click Next. The Services Targeting window appears.

    Services Targeting
  18. Click Next. The Configuration Summary window appears. Verify that all information described in this window is accurate.

    Configuration Summary
  19. Click Create. The Configuration Progress window displays a message when the domain is created successfully.

    Configuration Progress
  20. Click Next. The Configuration Success window displays the Domain Location and Admin Server URL once the configuration is complete.

    Configuration Success
  21. Click Finish to complete creating the WebLogic domain and managed servers.

  22. Add the following security policy to $ORACLE_HOME/wlserver/server/lib/weblogic.policy file.

    grant codeBase "file:/<DOMAIN_HOME>/-" {
     permission java.security.AllPermission;
     permission oracle.security.jps.service.credstore.CredentialAccessPermission "credstoressp.credstore", "read,write,update,delete";
     permission oracle.security.jps.service.credstore.CredentialAccessPermission "credstoressp.credstore.*", "read,write,update,delete";
    };
  23. Start the Weblogic Admin and Manage Server.

  24. Set JTA timeout to 43200.

    1. Log in to Admin console

    2. Click on the domain name

    3. Select the JTA tab and change the timeout value to 43200.