Installation Guide for Oracle Billing Insight > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Self-Service Application >

Defining the Oracle WebLogic Environment for the Self-Service Application Domain


You must set environment variables and other options in the Oracle WebLogic environment to correctly set up the Self-Service domain.

This task is a step in Process of Configuring Oracle WebLogic for the Self-Service Application.

To set environment variables for the Self-Service application domain

  1. Open the setDomainEnv file in a text editor. This file is located in the Self-Service application domain's home directory, for example:
    • UNIX. WL_HOME/user_projects/domains/BillingInsight_domain/bin/setDomainEnv.sh
    • Windows. %WL_HOME\user_projects\domains\BillingInsight_domain\bin\setDomainEnv.cmd
  2. In the setDomainEnv file, define the environment variable EDX_HOME as the directory in which Oracle Billing Insight is installed, for example:
    • Oracle Solaris. export EDX_HOME=/opt/Oracle/BillingInsight
    • Linux. export EDX_HOME=/opt/Oracle/BillingInsight
    • Windows. set EDX_HOME=C:\oracle\BillingInsight
  3. Add the following entries to the end of the setDomainEnv file:
    • Oracle Solaris. Add the Java as shown:

    CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar:$EDX_HOME/config/resourcebundle

    export CLASSPATH

    • Linux. Add the Java as shown:

    CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar:$EDX_HOME/config/resourcebundle

    export CLASSPATH

    • Windows. Add the Java as shown:

    set CLASSPATH=%CLASSPATH%;%EDX_HOME%\config;%EDX_HOME%\config\lib\xercesImpl-2.7.1.jar;%EDX_HOME%\lib\xalan-2.7.1.jar;%EDX_HOME%\lib\serializer-2.7.1.jar;%EDX_HOME%\config\resourcebundle

  4. Add the following Java to the end of the setDomainEnv file:
    • Oracle Solaris. Add the Java as shown:

    JAVA_VM="${JAVA_VM} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml
    -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2 -Dorg.owasp.esapi.resources=${EDX_HOME}/config"

    export JAVA_VM

    • Linux. Add the Java as shown:

    JAVA_VM="${JAVA_VM} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml
    -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2 -Dorg.owasp.esapi.resources=${EDX_HOME}/config"

    export JAVA_VM

    • Windows. Add the Java as shown. (The backslashes (\) in the following statement are correct.)

    set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE% -Dedx.home=%EDX_HOME% -Dlog4j.configuration=file;\\\%EDX_HOME%\config\log4j.xml
    -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2 -Dorg.owasp.esapi.resources=%EDX_HOME%\config

  5. If you are using Chase Paymentech Orbital Payment Gateway, then add the following entries to the end of the setDomainEnv file. Define the environment variable PAYMENTECH_HOME as the directory where Chase Paymentech configuration files are stored, and set the config directory under PAYMENTECH_HOME in CLASSPATH:
    • Oracle Solaris. Add the JAVA shown:

    PAYMENTECH_HOME=$EDX_HOME/payment/gatewayConfig/paymentech
    export PAYMENTECH_HOME
    CLASSPATH=$CLASSPATH:$PAYMENTECH_HOME/config
    export CLASSPATH
    JAVA_VM=$JAVA_VM -DPAYMENTECH_HOME=$PAYMENTECH_HOME

    • Linux. Add the JAVA shown:

    PAYMENTECH_HOME=$EDX_HOME/payment/gatewayConfig/paymentech
    export PAYMENTECH_HOME
    CLASSPATH=$CLASSPATH:$PAYMENTECH_HOME/config
    export CLASSPATH
    JAVA_VM=$JAVA_VM -DPAYMENTECH_HOME=$PAYMENTECH_HOME

    • Windows. Add the JAVA shown:

    set PAYMENTECH_HOME=%EDX_HOME%\payment\gatewayConfig\paymentech
    set CLASSPATH=%CLASSPATH%;%PAYMENTECH_HOME%\config
    set JAVA_VM=%JAVA_VM% -DPAYMENTECH_HOME=%PAYMENTECH_HOME%

  6. If you are using the CyberSource Payment Gateway, then add the following entries to the end of the setDomainEnv file. Define the environment variable CYBERSOURCE_HOME as the directory where CyberSource configuration files are stored:
    • Oracle Solaris. Add the JAVA shown:

    export CYBERSOURCE_HOME=$EDX_HOME/payment/gatewayConfig/cybersource
    JAVA_VM="$JAVA_VM -Daxis.ClientConfigFile=$CYBERSOURCE_HOME/CyberSourceClientDeploy.wsdd -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2"
    export JAVA_VM

    • Linux. Add the JAVA shown:

    export CYBERSOURCE_HOME=$EDX_HOME/payment/gatewayConfig/cybersource
    JAVA_VM="$JAVA_VM -Daxis.ClientConfigFile=$CYBERSOURCE_HOME/CyberSourceClientDeploy.wsdd -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2"
    export JAVA_VM

    • Windows. Add the JAVA shown:

    set JAVA_VM=%JAVA_VM% -Daxis.ClientConfigFile=%CYBERSOURCE_HOME%\CyberSourceClientDeploy.wsdd -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
    set JAVA_VM=%JAVA_VM%

  7. Save the changes, and close the file.
Installation Guide for Oracle Billing Insight Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.