The ATS envvars script now does not rely on the environment variable

JAVA_HOME since it may not be pointing to the JVM that we need to use.
This commit is contained in:
Juan Carlos Luciani 2007-01-24 06:06:57 +00:00
parent 3a6e08dc7e
commit bc915356e8
2 changed files with 13 additions and 8 deletions

View File

@ -7,15 +7,13 @@
# #
############################################################
# Set JAVA_HOME if not yet set
if [ "$JAVA_HOME" == "" ]; then
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
# Set JAVA_HOME
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
CATALINA_BASE="/srv/www/casaats"
CATALINA_HOME="/usr/share/tomcat5"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 24 10:55:40 MST 2007 - jluciani@novell.com
- ATS envvars file now does not rely on the environment
variable JAVA_HOME since it may not be pointed to the
JVM that we would want to use.
-------------------------------------------------------------------
Tue Jan 23 15:19:10 MST 2007 - jluciani@novell.com