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 $*

    APACHE_HOME=/usr/local/apache_1.3.14
    export APACHE_HOME

    JAVA_HOME=/usr/local/jdk1.3
    export JAVA_HOME

    JAKARTA_HOME=/usr/local/tomcat_3.2
    export JAKARTA_HOME

    TOMCAT_HOME=/usr/local/tomcat_3.2/tomcat-3.2
    export TOMCAT_HOME

    ANT_HOME=/usr/local/tomcat_3.2/ant-1.2
    export ANT_HOME

    SERVLETAPI_HOME=/usr/local/tomcat_3.2/servletapi-3.2
    export SERVLETAPI_HOME

    PATH=/usr/local/bin:${JAVA_HOME}/bin:/usr/sbin:/usr/bin
    PATH=${PATH}:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/usr/local/sbin
    PATH=${PATH}:/usr/openwin/bin:${ANT_HOME}/bin
    export PATH

    CLASSPATH=${JAVA_HOME}/lib/tools.jar
    CLASSPATH=${CLASSPATH}:${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}:/usr/local/jaxp1.0.1/jaxp.jar
    CLASSPATH=${CLASSPATH}:/usr/local/jaxp1.0.1/parser.jar
    CLASSPATH=${CLASSPATH}:${ANT_HOME}/lib/ant.jar
    CLASSPATH=${CLASSPATH}:${SERVLETAPI_HOME}/lib/servlet.jar
    export CLASSPATH

BASEDIR=${TOMCAT_HOME}/bin

$BASEDIR/tomcat.sh start "$@"

Modified: Mon Dec 4 04:30:31 2000 GMT
Page accessed 6775 times since Wed Dec 6 03:32:49 2000 GMT