CCL Home Page
Up Directory CCL startup.sh.txt
#! /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
XML=/usr/local/jaxp-1.1ea2
JAKARTA_HOME=/usr/local/tomcat_3.2.1
ANT_HOME=${JAKARTA_HOME}/ant-1.2
SERVLETAPI_HOME=${JAKARTA_HOME}/servletapi-3.2
TOMCAT_HOME=${JAKARTA_HOME}/tomcat-3.2.1
export JAVA_HOME XML JAKARTA_HOME SERVLETAPI_HOME TOMCAT_HOME

PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
PATH=${PATH}:/usr/X11R6/bin:${JAVA_HOME}/bin:${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}:${ANT_HOME}/lib/ant.jar
CLASSPATH=${CLASSPATH}:${SERVLETAPI_HOME}/lib/servlet.jar
CLASSPATH=${CLASSPATH}:${XML}/jaxp.jar:${XML}/crimson.jar:${XML}/xalan.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/jasper.jar:${TOMCAT_HOME}/lib/webserver.jar
export CLASSPATH




BASEDIR=${TOMCAT_HOME}/bin

$BASEDIR/tomcat.sh start "$@"
Modified: Sun Jan 28 19:29:19 2001 GMT
Page accessed 295 times since Tue Mar 15 11:00:19 2005 GMT