Just a side note - if you actually want to see the output of your startup script, stick a comment line in with the word action on it
ie - # action Redhat's rc script looks for action in the file to determine the way it gets invoked. If the script does not contact action, all you will see is the [OK] If you want to call this on shutdown as well, you will need to have your script : touch /var/lock/subsys/tomcat (ie - if you script is /etc/init.d/tomcat) the rc script looks in /var/lock/subsys to determine what has been started and what needs to be stopped going to init 0 or init 6. Kenny G. Dubuisson, Jr. writes: > That did it. Thanks all, > Kenny > > ----- Original Message ----- > From: "Ben Ricker" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, September 17, 2002 2:17 PM > Subject: Re: Tomcat won't auto-start on RedHat 7.3 > > > > On Tue, 2002-09-17 at 14:06, Kenny G. Dubuisson, Jr. wrote: > > > Very good question...I bet they aren't. Do you know where I would set > those > > > for boot (or should I just put them in the script I wrote)? Thanks, > > > Kenny > > > > Put them in the script. > > > > Ben Ricker > > Wellinx.com > > > > > ----- Original Message ----- > > > From: "Turner, John" <[EMAIL PROTECTED]> > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > Sent: Tuesday, September 17, 2002 2:04 PM > > > Subject: RE: Tomcat won't auto-start on RedHat 7.3 > > > > > > > > > > > > > > When run during boot, are JAVA_HOME and CATALINA_HOME set? > > > > > > > > John > > > > > > > > > -----Original Message----- > > > > > From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] > > > > > Sent: Tuesday, September 17, 2002 3:01 PM > > > > > To: Tomcat Users List > > > > > Subject: Tomcat won't auto-start on RedHat 7.3 > > > > > > > > > > > > > > > I have successfully installed Apache 2.0.40, Tomcat 4.0.4, > > > > > and mod_jk and > > > > > all works fine. The problem I have is that I wrote a simple > > > > > startup script > > > > > for Tomcat to be executed upon init level 5 entrance. If I > > > > > run the script > > > > > from a shell prompt, it works fine. If it runs when Linux is > booting, > > > > > though it says "OK" when starting, Tomcat doesn't actually > > > > > get started. > > > > > > > > > > The script is: > > > > > > > > > > #!/bin/sh > > > > > case "$1" in > > > > > start) > > > > > echo -n "Starting Tomcat: " > > > > > /usr/local/jakarta-tomcat-4.0.4/bin/startup.sh > > > > > echo > > > > > ;; > > > > > stop) > > > > > echo -n "Stopping Tomcat: " > > > > > /usr/local/jakarta-tomcat-4.0.4/bin/shutdown.sh > > > > > echo > > > > > ;; > > > > > restart) > > > > > $0 stop > > > > > $0 start > > > > > ;; > > > > > *) > > > > > echo "Usage: $0 {start|stop|restart}" > > > > > exit 1 > > > > > esac > > > > > exit 0 > > > > > > > > > > Any Ideas? > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- John ___________________________________________________________________ John Murtari Software Workshop Inc. [EMAIL PROTECTED] 315.695.1301(x-211) "TheBook.Com" (TM) http://www.thebook.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>