Enabling Oracle HTTP Server as a Proxy

  To enable Oracle HTTP Server as a proxy to Integrated Margin Planning:

  1. Stop the Integrated Margin Planning server:

    Windows:

    EPM_ORACLE_INSTANCE/bin/stopIOPServer_iopinstance1.bat

    Linux:

    EPM_ORACLE_INSTANCE/bin/stopIOPServer_iopinstance1.sh
  2. Add the following lines to EPM_ORACLE_INSTANCE/httpConfig/ohs/config/OHS/ohs_component/mod_wl_ohs.conf:

    RedirectMatch 301 ^/interlace$ /interlace/
    <LocationMatch ^/interlace/>
    SetHandler weblogic-handler
    WeblogicCluster imp_server:port
    </LocationMatch>

    where imp_server is the fully qualified domain name of the Integrated Margin Planning server, and port is the value set in Server.Weblogic.TargetServer.Port=. The default value is 27080.

  3. To add static files to the Oracle HTTP Server:

    1. On the Oracle HTTP Server machine, unzip interlace_static.zip to

      EPM_ORACLE_HOME/common/epmstatic/interlace
    2. Update

      EPM_ORACLE_INSTANCE/httpConfig/ohs/config/OHS/ohs_component/httpd.conf

      to include the following line before the line that includes mod_wl_ohs.conf:

      RewriteRule ^/interlace/static/(.*) /epmstatic/interlace/$1 [PT]

      For example:

      RewriteEngine On
      RewriteRule ^/workspace/static/(.*) /epmstatic/wspace/$1 [PT]
      RewriteRule ^/interlace/static/(.*) /epmstatic/interlace/$1 [PT]
      
      # Include the configuration files needed for mod_weblogic
      include "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/mod_wl_ohs.conf"

      where the value of RewriteRule matches the value of the property called Server.LogicalWebAddress.ContextRoot. See Server Settings.

      In the above example, Server.LogicalWebAddress.ContextRoot is set to /workspace/ or /interlace/.

    Note:

    The static files can be shared for all instances of Integrated Operational Planning in the domain.

  4. Restart Oracle HTTP Server either through the NT service or using this command:

    Windows:

    EPM_ORACLE_INSTANCE/bin/stop|startOHS.bat

    Linux:

    EPM_ORACLE_INSTANCE/bin/stop|startOHS.sh
  5. Add the following line to custom/config/site.properties:

    Server.LogicalWebAddress.Port=19000

    Set the port to the Oracle HTTP Server port used for all other EPM System products. The default value is 19000.

  6. Rerun INSTALL_ROOT\bin\createiopinstance.

  7. Start the Integrated Margin Planning server.

    Windows:

    EPM_ORACLE_INSTANCE/bin/startIOPServer_iopinstance1.bat

    Linux:

    EPM_ORACLE_INSTANCE/bin/startIOPServer_iopinstance1.sh
  8. Access the Integrated Margin Planning server through the Oracle HTTP Server proxy using the following URL:

    http://myhost.domain.com:port/interlace

    where port refers to the setting in Server.LogicalWebAddress.Port.