Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tomcat startup script



Hi,
I had a start up script which worked for Tomcat 4.x.x then I installed Tomcat 5.0.28 and it now doesn't work.

Tomcat is installed in /Library/Tomcat

it looks like this:

#!/bin/sh
##
# Tomcat startup
##

. /etc/rc.common

StartService ()
{
ConsoleMessage "Starting Jakarta Tomcat"
/Library/Tomcat/bin/startup.sh &
}

StopService ()
{
ConsoleMessage "Stopping Jakarta Tomcat"
/Library/Tomcat/bin/shutdown.sh &
}

RestartService ()
{
StopService
StartService
}

RunService "$1"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.