I've got RedHat Enterprise WS 2.1 running Apache 1.3.x and Tomcat 4.x. I've got the httpd service starting automatically at boot-time, so my Apache server serves up content without any problem.
But, in order to get my Tomcat4 stuff to work, I need to first go to my tomcat4 directory (in my case, it's /usr/local/tomcat/bin) and then do a sh startup.sh
which runs the script that launches Tomcat4.
I've tried putting this startup.sh file inside of my /etc/init.d directory, but when the machine boots up, it seems that Tomcat4 still doesn't launch.
I was thinking that this is because startup.sh is a script file and not an actual program. So, I tried making a symbolic link to the startup.sh file inside the /etc/init.d directory. Making the link worked, but Tomcat4 didn't launch when I restarted the box.
Is there a special way to get a script file to automatically run from within the /etc/init.d directory?