Attached is the script I use to start/stop tomcat. The shutdown
method waits a configurable amount of time for the instance to
terminate cleanly and then terminates the process.
Obviously one would need to tweak the script to fit in their
environment. tomcat-prod goes in /etc/init.d and tomcat-
restart)
$0 stop
$0 start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit $RETVAL
Tim
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 17, 2007 7:04 AM
To: Tomcat Users Li
exit 1
;;
esac
exit $RETVAL
Tim
> -Original Message-
> From: David Smith [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 7:04 AM
> To: Tomcat Users List
> Subject: Re: Tomcat as a deoman
>
> Easy --
>
> 1. Download tomcat 5.0 and install.
Easy --
1. Download tomcat 5.0 and install. Get it working usng the standard
start/stop scripts. I highly recommend using us to go in as the tomcat
user and making sure it works under those credentials.
2. Download commons-daemon. If you can find binaries for REHL4, go for
it. Otherwise