catalina.sh worked fine for me.  I think that I may have had to add the path to tomcat 
to the script though.

----- Original Message ----- 
From: "Nelson Yip" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 11:52 AM
Subject: RE: tomcat startup script (AW: Auto starting Tomcat during boot?)


I was wondering why you can't just add a symbolic link in the rc3.d
point to Catalina.sh, startup.sh or shutdown.sh.  I tried linking those
files but it still doesn't work after I restarted the server?
But I will give your script a try.

Thanks
Nelson

-----Original Message-----
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 10, 2002 2:41 PM
To: 'Tomcat Users List'
Subject: tomcat startup script (AW: Auto starting Tomcat during boot?)

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



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

 



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

Reply via email to