| Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Billing and Payment Application > Defining the Oracle WebLogic Environment for the Billing and Payment Application Domain
 You must set environment variables and other options in the Oracle WebLogic environment to correctly set up the Billing and Payment domain. This task is a step in Process of Configuring Oracle WebLogic for the Billing and Payment Application. To set environment variables for the Billing and Payment application domain 
Open the setDomainEnv file in a text editor.
This file is located in the domain's home directory, for example: 
UNIX. WL_HOME/user_projects/domains/ebilling_domain/bin/setDomainEnv.shWindows. %WL_HOME\user_projects\domains\ebilling_domain\bin\setDomainEnv.cmdIn the setDomainEnv.sh file, define the environment variable EDX_HOMEas the directory in which Oracle Self-Service E-Billing is installed, for example:
Oracle Solaris. export EDX_HOME=/opt/Oracle/eBillingLinux. export EDX_HOME=/opt/Oracle/eBillingWindows. set EDX_HOME=C:\oracle\eBillingAdd 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.jarLinux. 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.jarWindows. 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
In the JAVA OPTIONS section, add the Dedx.home Java option section to the end of the 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.xml -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dorg.owasp.esapi.resources=${EDX_HOME}/config -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} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dorg.owasp.esapi.resources=${EDX_HOME}/config -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"
 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 -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dorg.owasp.esapi.resources=%EDX_HOME%\config -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
Specify the memory settings as follows:
MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=1024m
Save the changes, and close the file.
 |