Prerequisites

You must do the following before configuring OAM with Primavera Gateway:

  1. Install Oracle WebLogic 12.1.2 and Fusion Middleware (fmw) infrastructure
  2. Install Primavera Gateway.

    See the Installation and Configuration Guide for Primavera Gateway.

  3. Install and configure Oracle HTTP Server (OHS) Webgate for Oracle Access Manager . See the OHS documentation for more information.
  4. After installing Oracle HTTP Server 11g Webgate for Oracle Access Manager complete the following steps:
    1. Change to the following directory under the Oracle Home for Webgate:

      On UNIX: <Webgate_Home>/webgate/ohs/tools/deployWebGate

      On Windows: <Webgate_Home>\webgate\ohs\tools\deployWebGate

    2. On the command line, copy the required bits of agent from the Webgate_Home directory to the Webgate Instance location as follows:

      On UNIX: ./deployWebgateInstance.sh -w <Webgate_Instance_Directory> -oh <Webgate_Oracle_Home>

      On Windows: deployWebgateInstance.bat -w <Webgate_Instance_Directory> -oh <Webgate_Oracle_Home>

      Where:

      <Webgate_Oracle_Home> is the directory where you have installed Oracle HTTP Server Webgate and created as the Oracle Home for Webgate. For example, <MW_HOME>/Oracle_OAMWebGate1

      <Webgate_Instance_Directory> is the location of Webgate Instance Home, which is same as the Instance Home of Oracle HTTP Server. For example, <MW_HOME>/Oracle_WT1/instances/instance1/config/OHS/ohs1

      Note: An instance home for Oracle HTTP Server is created after you configure Oracle HTTP Server. This configuration is performed after installing Oracle HTTP Server 11.1.1.2.0 or patching to Oracle HTTP Server 11.1.1.3.0.

      Example:

      C:\Weblogic\WL121\Oracle_OAMWebGate1\webgate\ohs\tools\deployWebGate>deployWebgateInstance.bat -w C:\Weblogic\WL1212\Oracle_WT1\instances\instance3\config\OHS\ohs1 -oh C:\Weblogic\WL1212\Oracle_OAMWebGate1

    3. Run the following command to ensure that the LD_LIBRARY_PATH variable contains <Oracle_Home_for_Oracle_HTTP_Server>/lib:

      On UNIX (depending on the shell): export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<Oracle_Home_for_Oracle_HTTP_Server>/lib

      On Windows: Set the <Webgate_Installation_Directory>\webgate\ohs\lib location and the <Oracle_Home_for_Oracle_HTTP_Server>\bin location in the PATH environment variable. Add a semicolon (;) followed by this path at the end of the entry for the PATH environment variable.

      Example: C:\Weblogic\WL1212G\Oracle_OAMWebGate1\webgate\ohs\lib

    4. From your present working directory, move up one directory level:

      On UNIX, move to: <Webgate_Home>/webgate/ohs/tools/setup/InstallTools

      On Windows, move to: <Webgate_Home>\webgate\ohs\tools\EditHttpConf

      For example, C:\Weblogic\WL1212\Oracle_OAMWebGate1\webgate\ohs\tools\EditHttpConf>

    5. On the command line, run the following command to copy the apache_webgate.template from the Webgate_Home directory to the Webgate Instance location (renamed to webgate.conf) and update the httpd.conf file to add one line to include the name of webgate.conf:

      On UNIX: ./EditHttpConf -w <Webgate_Instance_Directory> [-oh <Webgate_Oracle_Home>] [-o <output_file>]

      On Windows: EditHttpConf.exe -w <Webgate_Instance_Directory> [-oh <Webgate_Oracle_Home>] [-o <output_file>]

      Where:

      <Webgate_Oracle_Home> is the directory where you have installed Oracle HTTP Server Webgate for Oracle Access Manager and created as the Oracle Home for Webgate. For example, <MW_HOME>/Oracle_OAMWebGate1

      <Webgate_Instance_Directory> is the location of Webgate Instance Home, which is same as the Instance Home of Oracle HTTP Server. For example, <MW_HOME>/Oracle_WT1/instances/instance1/config/OHS/ohs1

      <output_file> is the name of the temporary output file used by the tool such as Edithttpconf.log.

      For example, C:\Weblogic\WL1212\Oracle_OAMWebGate1\webgate\ohs\tools\EditHttpConf>EditHttpConf.exe -w C:\Weblogic\WL1212\Oracle_WT1\instances\instance1\config\OHS\ohs1

  5. Configure the OHS proxy plug-in as follows:
    1. On Oracle HTTP Server, navigate to

      $OHSDomain\config\fmwconfig\components\OHS\instances\<ohs_folder_name>

    2. Edit the mod_wl_ohs.conf file and add Primavera Gateway details as follows:

      #Configuration For Primavera Gateway

      <Location /pdi>

      WebLogicHost <gateway server hostname>

      WebLogicPort <gateway port number>

      SetHandler weblogic-handler

      </Location>

    3. Save and close the file.
    4. Restart OHS instance.
    5. In the WebLogic Plugin Enabled drop-down, select Yes.
    6. Select Save.
    7. Select Activate Changes in the change center.
    8. Access any of the following Primavera Gateway URL:

      http://OHTTP_hostname:port_of_OHTTP/pdi

  6. Install Oracle Access Manager. See Oracle Access Manager documentation for details.


Legal Notices
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.

Last Published Wednesday, March 25, 2015