Setting up the WebLogic script file
About this task
To set up the WebLogic script file:
Procedure
- The following properties are supplied by
Oracle in the <your_WebLogic_domain>/bin/startWebLogic.sh
(or .cmd) file. Modify each property listed in Table 1 according to its description.
Table 1. StartWebLogic.sh properties Property Description JAVA_OPTIONS Java™ command line options for running the server. Depending on your JVM vendor, specify as follows:
- For IBM®, set this value to
-Xms768m -Xmx768m
DBDRIVERS Specify the paths to your data base drivers as the first item in the value of the CLASSPATH. The out-of-the-box CLASSPATH setting is:
CLASSPATH="${CLASSPATH}${CLASPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"
Change this so that the path to the drivers .jars is first. For example:
DBDRIVERS=/<directory_path_to_oracle_drivers>/ojdbc6.jar
CLASSPATH="${DBDRIVERS}${CLASSPATHSEP}${CLASSPATH}${CLASSPATHSEP} ${MEDREC_WEBLOGIC_CLASSPATH}"
JITC_COMPILEOPTS For AIX®, specify as "NQCLSINIT" -Dfile.encoding To ensure that all the Sterling Order Management System Software UI screens display UTF-8 characters, specify as follows after {JAVA_OPTIONS} for Java commands : -Dfile.encoding=UTF-8
This is applicable to all the Sterling Order Management System Software Java start-up scripts.
-Dvendor System property. Specify as an argument to the Java command after {JAVA_OPTIONS}. Can be "shell"; or "weblogic"; depending upon whether datasource is being used or not. -Dvendor=shell
-DvendorFile System property. Specify as an argument to the Java command after {JAVA_OPTIONS}. -DvendorFile=/servers.properties
Example: ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy= ${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} -Dfile.encoding=UTF-8 -Dvendor=shell -DvendorFile=/servers.properties ${PROXY_SETTINGS} ${SERVER_CLASS}
- For IBM®, set this value to
- If you are using an HTTPS transport, download
the Secure Socket Extension (JSSE) 1.0.3 package from http://java.sun.com and add the following
files to the
<JAVA_HOME>/jre/lib/extn/
directory:- jnet.jar
- jcert.jar
- jsse.jar