tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JStanc...@vinu.edu
Subject Re: Start Tomcat on boot
Date Thu, 09 Oct 2003 21:32:17 GMT
Will this help.

#!/bin/sh

JAVA_HOME=/usr/j2se
CATALINA_OPTS="-Xms512m -Xmx2000m -Xss8192k"
export JAVA_HOME CATALINA_OPTS
TOMCAT_BIN=/opt/jakarta-tomcat-5.0.12/bin

case "$1" in
        start)
                echo "Starting Tomcat Server..."
                $TOMCAT_BIN/startup.sh
        ;;

        stop)
                echo "Stopping Tomcat Server..."
                $TOMCAT_BIN/shutdown.sh

        ;;

        *)
                echo "Usage: $0 {start|stop}"
                exit 1
        esac
exit 0


Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813




Mike Millson <mmillson@meritonlinesystems.com>
10/09/2003 04:26 PM
Please respond to "Tomcat Users List"

 
        To:     Tomcat Users List <tomcat-user@jakarta.apache.org>
        cc: 
        Subject:        Re: Start Tomcat on boot


http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

On Thu, 2003-10-09 at 16:59, Eduardo Vazquez wrote:
> Being new to Linux\Tomcat I've scoured the internet looking for a
> step-by-step showing how to enable tomcat to start on boot with no real
> success. I'm running Red Hat 9.0 w/Jakarta-tomcat-4.1.27. Anyone.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message