CCL Home Page
Up Directory CCL shutdown.sh.txt
#! /bin/sh
#
# $Id: shutdown.sh,v 1.2 1999/12/05 17:02:42 harishp Exp $

# Shell script to shutdown the server

# There are other, simpler commands to shutdown 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.Shutdown $*
#java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Shutdown $*

JAVA_HOME=/usr/java
export JAVA_HOME
PATH=/usr/local/bin:/usr/freeware/bin:/usr/gnu/bin:/usr/bin
PATH=${PATH}:/usr/sbin:/usr/bsd:/sbin::/usr/bin/X11:/usr/express/bin/sg6
PATH=${PATH}:${JAVA_HOME}/bin
export PATH
JAKARTA_HOME=/usr/freeware/jakarta-tomcat
export JAKARTA_HOME
TOMCAT_HOME=${JAKARTA_HOME}/jakarta-tomcat-3.2.1
export TOMCAT_HOME
SERVLETAPI_HOME=${JAKARTA_HOME}/jakarta-servletapi-3.2
export SERVLETAPI_HOME


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}:${SERVLETAPI_HOME}/lib/servlet.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/ant.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/jasper.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/jaxp.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/parser.jar
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/webserver.jar
export CLASSPATH

BASEDIR=${TOMCAT_HOME}/bin

$BASEDIR/tomcat.sh stop "$@"
Modified: Wed Apr 18 05:17:30 2001 GMT
Page accessed 4122 times since Tue Feb 4 15:23:31 2003 GMT