Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Command Center Application >

Defining the Oracle WebLogic Environment for the Command Center Domain


You must set environment variables and other options in Oracle WebLogic environment for Command Center.

This task is a step in Process of Configuring Oracle WebLogic for the Command Center Application.

To set environment variables for the Command Center application domain

  1. Open the file setDomainEnv in a text editor. This file is located in the domain's home directory, for example:
    • UNIX. WL_HOME/user_projects/domains/cc_domain/bin/setDomainEnv.sh
    • Windows. WL_HOME\user_projects\domains\cc_domain\bin\setDomainEnv.cmd
  2. In the file, define the environment variable EDX_HOME as the directory in which Oracle Self-Service E-Billing is installed, for example:
    • Oracle Solaris. export EDX_HOME=/opt/Oracle/eBilling
    • Linux. export EDX_HOME=/opt/Oracle/eBilling
    • Windows. set EDX_HOME=C:\oracle\eBilling
  3. Add the following entries to the file:
    • Oracle Solaris. export CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar
    • Linux. export CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar
    • Windows. set CLASSPATH=%CLASSPATH%;%EDX_HOME%\config;%EDX_HOME%\config\resourcebundle;%EDX_HOME%\lib\xercesImpl-2.7.1.jar;%EDX_HOME%\lib\xalan-2.7.1.jar;%EDX_HOME%\lib\serializer-2.7.1.jar
  4. If you are using Chase Paymentech Orbital Payment Gateway, then add the following entries to the setDomainEnv file. Define the environment variable PAYMENTECH_HOME as the directory where Paymentech configuration files are stored:
    • Oracle Solaris. export PAYMENTECH_HOME=$EDX_HOME/payment/paymentech
    • Linux. export PAYMENTECH_HOME=$EDX_HOME/payment/paymentech
    • Windows. set PAYMENTECH_HOME=%EDX_HOME%\payment\paymentech

      Set the config directory under PAYMENTECH_HOME in CLASSPATH:

    • Oracle Solaris. export CLASSPATH=$CLASSPATH:$PAYMENTECH_HOME/config
    • Linux. export CLASSPATH=$CLASSPATH:$PAYMENTECH_HOME/config
    • Windows. set CLASSPATH=%CLASSPATH%;%PAYMENTECH_HOME%\config
  5. In the JAVA OPTIONS section, add the -Dedx.home Java option section to the end of the JAVA_VM variable definition:
    • Oracle Solaris. Add the Java as shown:

    JAVA_VM="${JAVA_VM} ${JAVA_DEBUG} ${JAVA_PROFILE} -Dedx.home=${EDX_HOME} -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

    -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"

    export JAVA_VM

    • Linux. Add the Java as shown:

    JAVA_VM="${JAVA_VM} ${JAVA_DEBUG} -Dedx.home=${EDX_HOME} -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"

    export JAVA_VM

    • Windows. Add the Java as shown:

    set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE% -Dedx.home=%EDX_HOME% -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl

  6. If you are using Chase Paymentech Orbital Payment Gateway, then in the JAVA OPTIONS section, add the following section to the end of the definition:
    • Oracle Solaris. export JAVA_VM=$JAVA_VM -DPAYMENTECH_HOME=$PAYMENTECH_HOME
    • Linux. export JAVA_VM=$JAVA_VM -DPAYMENTECH_HOME=$PAYMENTECH_HOME
    • Windows. set JAVA_VM=%JAVA_VM% -DPAYMENTECH_HOME=%PAYMENTECH_HOME%
  7. Save the changes, and close the file.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.