The easiest thing to do is to create a simple text file in the /etc/rc.d/rc3.d/ folder and put the command(s) necessary to start Tomcat in it. Call the file Stomcat and give it execute permissions --> "chmod 755 Stomcat". I don't use Tomcat, but I saw in another post that the command is "/usr/local/tomcat/bin/startup.sh". If this is true, just put that one command in the text file. In this case, you could alternatively just create a symlink to that file in the rc3 directory instead if you wanted to.
If you boot to the GUI, put this script in rc5.d also.
You'll notice that in the rc*.d directories, every link or script starts with either an S or K. If it starts with an S, then it will start at boot up. If it starts with a K, then it won't start, and if its running, it will kill the process. Most of them also have numbers; this is the order that the processes will be started or stopped.
ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.