LOCATION :
SIGNIFICANCE :
IMPORTANT POINTS :
FILE :
#########################################################################################################
#!/bin/sh
# $Header: adovars_ux.env 115.43 2005/01/14 21:41:40 hfux ship $
# +===========================================================================+
# | Copyright (c) 1998 Oracle Corporation, Redwood Shores, California, USA
# | All Rights Reserved
# | Applications Division
# +===========================================================================+
# |
# | FILENAME
# | adovars.env
# |
# | DESCRIPTION
# | Bourne shell script to set the environment variables for other
# | products like Java. This file is called by the main applications
# | environment file.
# |
# | NOTES
# | This script will work in Korn Shell as well.
# |
# | Make sure not to use any Korn-Shell specific logic when editing
# | this file, as this may cause adrelink.sh to fail.
# |
# +===========================================================================+
#
# ###############################################################
#
# This file is automatically generated by AutoConfig. It will be read and
# overwritten. If you were instructed to edit this file, or if you are not
# able to use the settings created by AutoConfig, refer to Metalink document
# 165195.1 for assistance.
#
# ###############################################################
#
#
# Begin section modified by AutoConfig
# Customers should not modify anything below this line
#
# The JAVA_TOP variable indicates the top-level directory where all Java
# class files will be copied. See the Oracle Applications Concepts manual
# and Oracle Applications Installation manual for more information about
# Oracle Applications and Java requirements.
JAVA_TOP="/eb_rdo0_q/applmgr/q570comn/java"
export JAVA_TOP
# The OA_JRE_TOP variable indicates the location where you have installed
# the Java Runtime Environment (JRE) on your machine. You do not have to set
# this variable, however we recommend you use this to update your CLASSPATH,
# LD_LIBRARY_PATH, and PATH variables rather than hardcode the location of
# the JRE.
OA_JRE_TOP="/opt/java1.5"
export OA_JRE_TOP
#
# The AF_JRE_TOP variable indicates the location where a transition JVM
# installation has been installed on the machine. You do not have to set
# this variable unless instructed to do so for migration to a newer version
# of JVM
#
AF_JRE_TOP="/opt/java1.5"
export AF_JRE_TOP
#
# Java requires CLASSPATH to be defined on most platforms. The CLASSPATH
# variable lists the directories and zip files to be scanned for Java class
# files needed at runtime.
#
# No entries should be added to the CLASSPATH or AFCLASSPATH in this file
#
CLASSPATH="/opt/java1.5/lib/dt.jar:/opt/java1.5/lib/tools.jar:/opt/java1.5/jre/lib/rt.jar:/opt/java1.5/jre/lib/charsets.jar:/eb_rdo0_q/applmgr/q570comn/java/appsborg2.zip:/eb_rdo0_q/applmgr/q570ora/8.0.6/forms60/java:/eb_rdo0_q/applmgr/q570comn/java"
export CLASSPATH
AF_CLASSPATH="/opt/java1.5/lib/dt.jar:/opt/java1.5/lib/tools.jar:/opt/java1.5/jre/lib/rt.jar:/opt/java1.5/jre/lib/charsets.jar:/eb_rdo0_q/applmgr/q570comn/java/appsborg2.zip:/eb_rdo0_q/applmgr/q570ora/8.0.6/forms60/java:/eb_rdo0_q/applmgr/q570comn/java"
export AF_CLASSPATH
# LD_LIBRARY_PATH is used on some platforms to list the directories to
# be scanned for dynamic library files needed at runtime. This is usually
# set in your Oracle environment. This variable should include your
# Java libraries (from your JRE) and Oracle libraries.
#
LD_LIBRARY_PATH="/eb_rdo0_q/applmgr/q570ora/8.0.6/network/jre11/lib/PA_RISC/native_threads:/opt/java1.5/jre/lib:/eb_rdo0_q/applmgr/q570appl/cz/11.5.0/bin:${LD_LIBRARY_PATH:=}"
if [ -d "/eb_rdo0_q/applmgr/q570appl/pay/11.5.0/vendor/quantum/lib" ]; then
LD_LIBRARY_PATH="/eb_rdo0_q/applmgr/q570appl/pay/11.5.0/vendor/quantum/lib:${LD_LIBRARY_PATH}"
fi
export LD_LIBRARY_PATH
#
# Set special library path variables for HP and AIX
#
case "$PLATFORM" in
HP9000S800) SHLIB_PATH=$LD_LIBRARY_PATH
export SHLIB_PATH;;
AIXRIOS) LIBPATH=$LD_LIBRARY_PATH
export LIBPATH;;
*) ;;
esac
# The OAH_TOP and OAD_TOP variables define the locations to which
# Oracle Applications copies HTML and context-sensitive documentation files.
# These directories must exist and must be writable by the Operating
# System account that owns your Oracle Applications files.
OAH_TOP="/eb_rdo0_q/applmgr/q570comn"
OAD_TOP="/eb_rdo0_q/applmgr/q570comn"
export OAH_TOP OAD_TOP
# OAM_TOP is the location to which media files are copied. Because of
# limitations in Java applet behavior, this value must be set as follows.
# Do NOT change the setting of this variable.
OAM_TOP="/eb_rdo0_q/applmgr/q570comn/java/oracle/apps"
export OAM_TOP
ADJREOPTS="-mx512m"
ADJRIOPTS="-mx512m"
export ADJREOPTS
export ADJRIOPTS
#
# Concurrent Manager uses this value for running Java concurrent programs.
#
APPSJREOPT=""
export APPSJREOPT
#
# Set java program used by AD
#
ADJVAPRG=/opt/java1.5/bin/java
export ADJVAPRG
#
# Set java program used by FND
#
AFJVAPRG=/opt/java1.5/bin/java
export AFJVAPRG
# The OA_HTML, OA_SECURE, OA_MEDIA, OA_DOC, and OA_JAVA
# variables correspond to the virtual directory settings of the same names
# you define in your web server.
# See the section on setting up your web server in the
# Oracle Applications Installation manual for more information.
# Do NOT change the settings of these variables.
OA_HTML=/eb_rdo0_q/applmgr/q570comn/html
OA_SECURE=/eb_rdo0_q/applmgr/q570comn/secure
OA_MEDIA=/eb_rdo0_q/applmgr/q570comn/java/oracle/apps/media
OA_DOC=/eb_rdo0_q/applmgr/q570comn/doc
OA_JAVA=/eb_rdo0_q/applmgr/q570comn/java
export OA_HTML OA_SECURE OA_MEDIA OA_DOC OA_JAVA
oa_htmlbin=/eb_rdo0_q/applmgr/q570comn/html/bin
# Test to see if the variables above are set and the directories listed
# above exist. If this file is being read from adsetenv.sh
# (before an install), also verify that they are writable by the
# Operating System user who owns the Oracle Applications files.
#
# Each element of adov_check_vars contains both a variable name and a
# checking type specifier.
#
# If type is 's', only check to see if the variable is set
# If type is 'a', check everything
#
adov_check_vars="JAVA_TOP:a OAH_TOP:a OAD_TOP:a OAM_TOP:s"
#
# It should be safe to access the PLATFORM variable below, since
# adovars.env is read at the end of either the standard env file or
# adsetenv, both of which ensure PLATFORM is set. It's also read at the
# beginning of adsetup, which sets PLATFORM before reading it.
#
#
# Not all platforms require CLASSPATH and LD_LIBRARY_PATH.
#
# Modify the case statement below for your platform if it does not
# require them.
#
case "$PLATFORM" in
*) adov_check_vars="$adov_check_vars CLASSPATH:s LD_LIBRARY_PATH:s";;
esac
# set error flag to "no errors"
adov_bad=No
for adov_loop_index in $adov_check_vars
do
adov_var_name=`echo "$adov_loop_index" | awk -F':' '{print $1}'`
adov_check_type=`echo "$adov_loop_index" | awk -F':' '{print $2}'`
eval adov_var_value="\$${adov_var_name}"
if test "$adov_var_value" = ""; then
echo
echo "$adov_var_name is not set."
echo
echo "Please define it in \$APPL_TOP/admin/adovars.env."
echo
adov_bad=Yes
break
fi
if test "$adov_check_type" != "s"; then
if test ! -d "$adov_var_value"; then
echo
echo "$adov_var_name is set to a directory that does not exist."
echo
echo "Current setting is \"$adov_var_value\"."
echo
echo "Please create the directory or modify the variable"
echo "in \$APPL_TOP/admin/adovars.env."
echo
adov_bad=Yes
break
fi
if test "$APPLFENV" = "adsetenv.sh"; then
if test ! -w "$adov_var_value"; then
echo
echo "$adov_var_name is set to a directory that is not writable."
echo
echo "Current setting is \"$adov_var_value\"."
echo
echo "Please adjust the directory permissions or modify the variable"
echo "in \$APPL_TOP/admin/adovars.env."
echo
adov_bad=Yes
break
fi
#
# create the 'bin' directory under OA_HTML, if one does not exist
#
if test "$adov_var_name" = "OAH_TOP"; then
if test ! -d "$oa_htmlbin"; then
mkdir -p $oa_htmlbin
fi
fi
# Not running from adsetenv - do not test directories for writability.
fi
fi
done
#
# Generate an error if any problems found. We want to stop the execution
# of the sourcing program, but don't want to exit the shell. The message
# printed (particularly the '9') can be ignored.
#
if test "$adov_bad" = "Yes"; then
test ${9:?"generating a fatal error."}
fi
#
# Cleanup
#
#
# Support for platforms that don't support 'unset'
#
if test "$PLATFORM" != "M88OPEN" ; then
adov_unset_it="unset"
else
adov_unset_it="#"
fi
eval $adov_unset_it adov_check_vars
eval $adov_unset_it adov_bad
eval $adov_unset_it adov_loop_index
eval $adov_unset_it adov_var_name
eval $adov_unset_it adov_check_type
eval $adov_unset_it adov_var_value
eval $adov_unset_it oa_htmlbin
if test "$PLATFORM" != "M88OPEN" ; then
unset adov_unset_it
fi
#
#
# Begin customizations
#
# Add any custom variables or additional variable settings in this section.
# For example, you may wish to update your PATH to ensure it lists the
# directory containing the "jre" executable, typically $OA_JRE_TOP/bin.
#
# Make sure PATH does not include other versions of the JRE.
# Make sure PATH does not include the JDK.
#
# End customizations