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

Defining the Oracle WebLogic Environment for the Customer Service Representative Domain


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

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

To set environment variables for the Oracle WebLogic Customer Service Representative domain

  1. Go to the $WEBLOGIC_HOME/user_projects/domains/csr_domain/bin directory (the %WEBLOGIC_HOME%\user_projects\domains\csr_domain\bin directory on Windows), and open the following file in a text editor:
    • UNIX. setDomainEnv.sh
    • Windows. setDomainEnv.cmd
  2. In the file, define the environment variable EDX_HOME as the directory where the Billing and Payment application 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\eilling
  3. Add the following entries to the file:
    • Oracle Solaris. CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/lib/xalan-2.7.0.jar
    • Linux. CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/lib/xalan-2.7.0.jar
    • Windows. set CLASSPATH=%CLASSPATH%;%EDX_HOME%\config;%EDX_HOME%\lib\xalan-2.7.0.jar
  4. In the JAVA OPTIONS section, add the Java option section to the end of the JAVA_VM variable definition:
    • Oracle Solaris:

    JAVA_VM="${JAVA_VM} ${JAVA_DEBUG} ${JAVA_PROFILE} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j_csr.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"

    export JAVA_VM

    • Linux:

    JAVA_VM="${JAVA_VM} ${JAVA_DEBUG} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j_csr.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"

    export JAVA_VM

    • Windows (The slashes (/) 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_csr.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl

  5. Save the changes, and close the file.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.