Look at my website on Tomcat installation. At the bottom of the page there are descriptions of how to do it along with my daemon scripts that you can use. Just change the location of executables in the scripts, or create symbolic links. I remember it was tricky to do shutdown properly, so I advise you to look at my HOWTO. It's easy to think that tomcat is shutting down, when it really is just being killed. Also, I have a status command in the daemon script for seeing how many threads are being used for tomcat and their PIDs.
If you follow my HOWTO I don't think you'll have any problems. http://daydream.stanford.edu/tomcat/install_web_services.html Oscar > > > On Mon, 30 Jun 2003, thors_hammer123 wrote: > > > I have installed Tomcat 5.0 (as part of the Java Web > > Services Pack) on a Redhat 7.1 system kernel 2.4.20. > > I am trying to get Tomcat to boot up at startup, and > > been failing. > > Following some instructions, I wrote the following > > script: > > > > ------------------------------------------------------- > > #!/bin/bash > > # > > # apache > > # > > # chkconfig: > > # description: Start up the Tomcat servlet engine. > > > > # Source function library. > > . /etc/init.d/functions > > > > > > RETVAL=$? > > TOMCATHOME="/usr1/jwsdp-1.2" > > > > case "$1" in > > 'start') > > if [ -f $TOMCATHOME/bin/startup.sh ]; > > then > > echo $"Starting Tomcat" > > $TOMCATHOME/bin/startup.sh > > fi > > ;; > > 'stop') > > if [ -f $TOMCATHOME/bin/shutdown.sh ]; > > then > > echo $"Stopping Tomcat" > > $TOMCATHOME/bin/shutdown.sh > > fi > > ;; > > *) > > echo $"Usage: $0 {start|stop}" > > exit 1 > > ;; > > esac > > > > exit $RETVAL > > ------------------------------------------------------- > > > > and placed it in the rc5.d directory under the name > > S71tomcat, and made a link in the init.d directory to > > this file under the name tomcat. > > > > This does not work and I don't understand why not. If > > I type at a terminal "tomcat start", Tomcat starts > > with no problems. What could be going on? > > > > TIA > > > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
