OHS USER INTERFACE CONFIGURATION GUIDE

This document includes following topics:

Pre-requisite

OHS software along with instance should be available for use.

UI Deployment

Below steps needs to be performed for UIClosed User Interface deployment on OHS server.

OHS User Interface Configuration

OHS Interface Configuration

OHS User Interface Configuration

Configuration to run UI on Oracle HTTP Server

Make sure following OHS modules must be loaded

Following are the changes need to be done in the obdx.conf file and place this file in same folder where httpd.conf file exists.

Include the obdx.conf into httpd.conf using below configuration

include “obdx.conf" (needs to be added in httpd.conf).

Read obdx.conf for inline documentation.

OHS User Interface Configuration

Following are the changes need to be done in mod_wl_ohs.conf which is present at {DOMAIN_HOME}/config/fmwconfig/components/OHS/{componentName}

Copy below configuration into mod_wl_ohs.conf

<IfModule weblogic_module>

WebLogicHost HOSTNAME

WebLogicPort MANAGE_SERVER_PORT

Debug ON

WLLogFile DIR/FILENAEME

MatchExpression /digx/*

MatchExpression /digx-auth/*

MatchExpression /digx-social/*

</IfModule>

Configure below properties

Sample configuration (for reference purpose only)

<IfModule weblogic_module>

WebLogicHost wls_server1

WebLogicPort 7003

Debug ON

WLLogFile /tmp/weblogic_obp.log

MatchExpression /digx/*

</IfModule>

OHS User Interface Configuration

Authentication Configuration:

OBDX product ships with two type of authentication methods:

Configuring the OAM Authentication

By default OAM server URL is set as http://mum00aon.in.oracle.com:14100/oam/server

Replace it to your OAM server URL in the following files:

Configuring the Non OAM Authentication

Configuring Non OAM Authentication implementer needs to change following files:

OHS User Interface Configuration

  • In {DOMAIN_HOME}/config/fmwconfig/components/OHS/{componentName}/httpd.conf remove webgate.conf entry
  • Google Map Configuration:

    By default Google map SDK URL is set as

    https://maps.googleapis.com/maps/api/js?key=AIzaSyCYFGuo6wj7CTEaBILF3qaRcJJWuYI53f8&libraries=geometry,places

    Replace it to your Google map SDK URL in the following files:

    Social Media Configurations:

    By default Linkedin and Facebook API key is set as

    Linkedin Key: 86hg2yshsq76yd

    Facebook Key: 233137313819556

    Replace it to your social media API keys in the following files:

    Wallet Configurations:

    By default OBDX Base server URL is set as http://mum00apu.in.oracle.com:7777/digx/v1/

    Replace it to your OBDX Base server URL in the following files:

    Since OBDX UI support Subresource integrity and changing files mentioned above will impact it and files which are changed won’t work. SHA hash for all files are maintained in <CHANNEL_PATH>/framework/js/pages/security.js. There are two ways for solving this problem:

     

    Once all above steps are completed, restart the OHS server.

    For the restarting of the OHS Server first go to the bin directory of the OHS instance.

    Oracle HTTP Server Commands

    Starting Oracle HTTP Server Instances from the Command Line

    You can start up Oracle HTTP Server instances from the command line via a script.

    Linux or UNIX: $DOMAIN_HOME/bin/startComponent.sh componentName
    Windows: %DOMAIN_HOME%\bin\startComponent.cmd componentName

    For example:

    $DOMAIN_HOME/bin/startComponent.sh ohs1

    The startComponent script contacts the Node Manager and runs the nmStart() command.

    When prompted, enter your Node Manager password. The system responds with these messages:

    Successfully started server componentName...
    Successfully disconnected from Node Manager...
    Exiting WebLogic Scripting Tool.

    Stopping Oracle HTTP Server Instances from the Command Line

    You can stop Oracle HTTP Server instances from the command line via a script.

    Enter the following command:

    Linux or UNIX: $DOMAIN_HOME/bin/stopComponent.sh componentName
    Windows: %DOMAIN_HOME%\bin\stopComponent.cmd componentName

    For example:

    $DOMAIN_HOME/bin/stopComponent.sh ohs1

    This command invokes WLST and executes the nmKill() command. The stopComponent command will not function if the Node Manager is not running.

    For more commands refer the following URL:

    https://docs.oracle.com/middleware/1221/webtier/administer-ohs/getstart.htm

    Home