Installation Guide for Oracle Billing Insight > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Assisted Service Application >
Defining the Oracle WebLogic Environment for the Assisted Service Application Domain
You must set environment variables and other options in the Oracle WebLogic environment to correctly set up the Assisted Service application domain. This task is a step in Process of Configuring Oracle WebLogic for the Assisted Service Application. To set environment variables for the Oracle WebLogic Assisted Service application domain
- Go to the following directory:
- UNIX.
WL_HOME/user_projects/domains/csr_domain/bin
- Windows.
WL_HOME\user_projects\domains\csr_domain\bin
- Open the following file in a text editor:
- UNIX. setDomainEnv.sh
- Windows. setDomainEnv.cmd
- In the file, define the environment variable EDX_HOME as the directory where the Self-Service application 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
- Add the following entries to the file:
- Oracle Solaris.
CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar:$EDX_HOME/lib/xercesImpl-2.7.1.jar
- Linux.
CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar:$EDX_HOME/lib/xercesImpl-2.7.1.jar
- Windows.
set CLASSPATH=%CLASSPATH%;%EDX_HOME%\config;%EDX_HOME%\config\resourcebundle;%EDX_HOME%\lib\xalan-2.7.1.jar;%EDX_HOME%\lib\serializer-2.7.1.jar;%EDX_HOME%\lib\xercesImpl-2.7.1.jar
- 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:
- In the JAVA OPTIONS section, add the 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} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j_csr.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl - Dorg.owasp.esapi.resources=${EDX_HOME}/config -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
export JAVA_VM
- Linux. Add the Java as shown:
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 -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl - Dorg.owasp.esapi.resources=${EDX_HOME}/config -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
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_csr.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
- 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%
- Save the changes, and close the file.
|