i've already mailed this before. this is a tomcat startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown. don't
forget to set it executable. edit the variables in the beginning of the
script to match your path and your port settings. specify a user under which
tomcat will be started (normally user tomcat).
then insert the line:
START_TOMCAT="yes"
in /etc/rc.config
(note: script tested only with SuSE Linux 7.x but should work elsewhere
without problems)

have fun!
michael

-----Urspr�ngliche Nachricht-----
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. J�nner 2002 19:51
An: [EMAIL PROTECTED]
Betreff: Auto starting Tomcat during boot?


Hi,
 
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
 
Am I doing something wrong?
 
Thanks
Nelson

Attachment: tomcat
Description: Binary data

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to