# This is a shell script which configures
# any environment variables
for
the Java JVM.
# Variables must be exported to be seen by the launcher.
. /etc/profile
export JAVA_HOME=/space/javaV5_31/J5.
0
CATALINA_HOME=/home/userid/tomcat
CATALINA_BASE=${CATALINA_HOME}
export PATH=/bin:
"${JAVA_HOME}"
/bin:
LIBPATH=/lib:/usr/lib:
"${JAVA_HOME}"
/bin
LIBPATH=
"$LIBPATH"
:
"${JAVA_HOME}"
/bin/classic
export LIBPATH=
"$LIBPATH"
:
CLASSPATH=
"${JAVA_HOME}/lib/tools.jar"
CLASSPATH=
"$CLASSPATH"
:
"${CATALINA_HOME}/bin/bootstrap.jar"
CLASSPATH=
"$CLASSPATH"
:
"${CATALINA_HOME}/bin/commons-logging-api.jar"
export CLASSPATH=
"$CLASSPATH"
:
# Set JZOS specific options
# Use
this
variable to specify encoding
for
DD STDOUT and STDERR
#export JZOS_OUTPUT_ENCODING=IBM-
1047
# Use
this
variable to prevent JZOS from handling MVS operator commands
#export JZOS_ENABLE_MVS_COMMANDS=
false
# Use
this
variable to supply additional arguments to main
#export JZOS_MAIN_ARGS=
""
# Configure JVM options
# Note that Tomcat requires
default
ASCII file.encoding
IJO=
"-Xms64m -Xmx128m"
IJO=
"$IJO -Dfile.encoding=ISO8859-1"
IJO=
"$IJO -Dcatalina.base=${CATALINA_BASE}"
IJO=
"$IJO -Dcatalina.home=${CATALINA_HOME}"
IJO=
"$IJO -Djava.io.tmpdir=${CATALINA_BASE}/temp"
IJO=
"$IJO -Djava.endorsed.dirs="
IJO=
"${IJO}${CATALINA_HOME}/common/endorsed"
# Configure SDK5.
0
to use shared classes (at group level)
# You must comment
this
out
if
you are not running SDK
5
groupname=`id -gn`
IJO=
"$IJO -Xshareclasses:name=$groupname,groupAccess"
export IBM_JAVA_OPTIONS=
"$IJO "
export JAVA_DUMP_HEAP=
false
export JAVA_PROPAGATE=NO
export IBM_JAVA_ZOS_TDUMP=NO