Hi,
We can start Tomcat as a service or as a daemon in Linux by some tricks….
[root@map007]# ln -s /usr/local/tomcat/bin/catalina.sh /etc/rc.d/init.d/tomcat
And then based on the runlevel, you can create the Sxx and Kxx links in the appropriate directory..
ln -s /etc/rc.d/init.d/tomcat /etc/rc.d/rc3.d/S63tomcat
ln -s /etc/rc.d/init.d/tomcat /etc/rc.d/rc3.d/K37tomcat
(change S63 and K37 according to your starting sequence).
Now you can start/stop Tomcat like this……………
[root@map007]# /etc/init.d/tomcat stop
[root@map007]# /etc/init.d/tomcat start
===============================================================================================
Enjoy Linux !
