You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ba...@mediageneral.com on 2003/09/03 16:52:53 UTC

How to get tomcat to autostart on linux

Greetings,
I need to know how to get tomcat to autostart on a redhat linux 8 box - can
anyone tell me?

Thanks,
Bobbie

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

Re: How to get tomcat to autostart on linux

Posted by Filip Hanik <ma...@filip.net>.
you can create a script in /etc/init.d/ or
in /etc/rc.local simply put 

export TOMCAT_HOME=blablabla
export CATALINA_HOME=$TOMCAT_HOME
$CATALINA_HOME/bin/startup.sh

Filip


----- Original Message ----- 
From: <ba...@mediageneral.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, September 03, 2003 7:52 AM
Subject: How to get tomcat to autostart on linux


Greetings,
I need to know how to get tomcat to autostart on a redhat linux 8 box - can
anyone tell me?

Thanks,
Bobbie

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



Re: How to get tomcat to autostart on linux

Posted by Carlos Cajina - Hotmail <ce...@hotmail.com>.
Hi Bobbie.

    Please see
http://daydream.stanford.edu/tomcat/install_web_services.html#java  At the
end of the HOW-TO you'll find what you need...

    Good luck!!!

----- Original Message ----- 
From: <ba...@mediageneral.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, September 03, 2003 8:52 AM
Subject: How to get tomcat to autostart on linux


> Greetings,
> I need to know how to get tomcat to autostart on a redhat linux 8 box -
can
> anyone tell me?
>
> Thanks,
> Bobbie
>
> Bobbie Atristain
> Internet Systems Administrator
> Media General, INC.
> 804.649.6156
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

Re: How to get tomcat to autostart on linux

Posted by John Turner <to...@johnturner.com>.
Courtesy of Oscar Carrillo:

http://daydream.stanford.edu/tomcat/install_web_services.html#daemons

You need to download his tomcatd script, and copy it to /etc/rc.d/init.d.

Then execute: /sbin/chkconfig --del tomcatd

Then execute: /sbin/chkconfig --add tomcatd

Note you will need to modify the tomcatd script to meet your needs, such 
as changing the paths, etc.

John

batristain@mediageneral.com wrote:

> Greetings,
> I need to know how to get tomcat to autostart on a redhat linux 8 box - can
> anyone tell me?
> 
> Thanks,
> Bobbie
> 
> Bobbie Atristain
> Internet Systems Administrator
> Media General, INC.
> 804.649.6156
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>