#! /bin/sh
#
# $Id: startup.sh,v 1.2 1999/12/05 17:02:42 harishp Exp $
# Shell script to startup the server
# There are other, simpler commands to startup the runner. The two
# commented commands good replacements. The first works well with
# Java Platform 1.1 based runtimes. The second works well with
# Java2 Platform based runtimes.
#jre -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup $*
#java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup $*
JAVA_HOME=/usr/local/jdk1.3
export JAVA_HOME
XML=/usr/local/jaxp-1.1ea2
export XML
JAKARTA_HOME=/usr/local/jakarta_3.2.1
export JAKARTA_HOME
TOMCAT_HOME=${JAKARTA_HOME}/jakarta-tomcat-3.2.1
export TOMCAT_HOME
PATH=/usr/local/bin:${JAVA_HOME}/bin:${PATH}:${TOMCAT_HOME}/bin
export PATH
CLASSPATH=${JAVA_HOME}/lib/tools.jar:${JAVA_HOME}/lib/dt.jar
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/jre/lib/ext/jce1_2_1.jar
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/jre/lib/ext/jcert.jar
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/jre/lib/ext/jnet.jar
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/jre/lib/ext/jsse.jar
CLASSPATH=${CLASSPATH}:${XML}/jaxp.jar:${XML}/crimson.jar
CLASSPATH=${CLASSPATH}:${XML}/xalan.jar
export CLASSPATH
BASEDIR=${TOMCAT_HOME}/bin
$BASEDIR/tomcat.sh start "$@"
|