tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cavan Morris" <cavan.mor...@worldnet.att.net>
Subject Re: tomcat startup script (AW: Auto starting Tomcat during boot?)
Date Thu, 10 Jan 2002 20:00:09 GMT
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" <sysadmin@igicom.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
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:MWeissenbacher@net4you.net] 
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:sysadmin@igicom.com]
Gesendet: Donnerstag, 10. Jänner 2002 19:51
An: tomcat-user@jakarta.apache.org
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

 



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message