> I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box. > Everything works fine but Tomcat won't auto start after a reboot. > > I added a symbolic link to the Catalina.sh file in my rc3.d level. > > ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat
If you have a look at the startup files in /etc/rc.d/init.d/ then you will get more of an idea of what you should do. Your S99tomcat (capital S btw), should then point to a startup file you make in init.d which will call Catalina.sh if it gets a parameter of "start". The init sequence will call each S... file in rc3.d with a parameter of "start" when you boot into runlevel 3. You may need to use "nohup" (http://www.opengroup.org/onlinepubs/7908799/xcu/nohup.html) or similar to start tomcat without it being terminated automatically. Read more on Sys V style startup code for details. HTH. J. -- You're only jealous cos the little penguins are talking to me. *************************************************************** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *************************************************************** -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
