- Installation and Upgrade Instructions
- Prepare the application server
- Modify the default Oracle WebLogic Server configuration files (skip for 9.0.x upgrade)
Modify the default Oracle WebLogic Server configuration files (skip for 9.0.x upgrade)
Perform these steps using the non-privileged user account on the application server.
- Navigate to the Oracle WebLogic Server domain
bin
directory, for example:$ cd /u01/app/oracle/product/Middleware12c/user_projects/domains/empirica/bin
- Edit the
setDomainEnv.sh
file:- Using a text editor, open the
setDomainEnv.sh
file. - At the end of the file, add the following lines:
# Local Customization export TZ=UTC export LANG=en_US.UTF-8 export DISPLAY=localhost:99.0
Note:
If you do not use the UTC time zone, edit the text accordingly. - Save and close the file.
- Using a text editor, open the
- Make the edits below in
setStartupEnv.sh
:- Using a text editor, open the file.
- Search for lines containing the following text:
com.oracle.db.jdbc7-dms.jar
- Use the hash character (#) to comment out each line, and then replace
each line as follows:
if [ "${PRE_CLASSPATH}" != "" ] ; then #PRE_CLASSPATH="${PRE_CLASSPATH}${CLASSPATHSEP}${COMMON_COMPONENTS_HOME}/modules/features/com.oracle.db.jdbc7-dms.jar"
PRE_CLASSPATH="${PRE_CLASSPATH}${CLASSPATHSEP}${ORACLE_HOME}/jdbc/lib/ojdbc8.jar"
export PRE_CLASSPATH else #PRE_CLASSPATH="${COMMON_COMPONENTS_HOME}/modules/features/com.oracle.db.jdbc7-dms.jar" PRE_CLASSPATH="${ORACLE_HOME}/jdbc/lib/ojdbc8.jar" export PRE_CLASSPATH fi - Search for lines containing the following text:
java.awt.headless=true
- Use the hash character (#) to comment out each line, and then replace
each line with a copy of the original, but without
-Djava.awt.headless=true
. For example:# EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} - Dem.oracle.home=/u01/app/oracle/product/Middleware12c/em - -DINSTANCE_HOME=/scratch/u01/app/oracle/product/Middleware12c/user_projects/domains/empirica -Djava.awt.headless=true - Doracle.sysman.util.logging.mode=dual_mode" EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} - Dem.oracle.home=/u01/app/oracle/product/Middleware12c/em - DINSTANCE_HOME=/u01/app/oracle/product/Middleware12c/user_projects/domains/empirica - Doracle.sysman.util.logging.mode=dual_mode"
- Save and close the file.
Parent topic: Prepare the application server