[opencms-dev] AA Starting Tomcat under Linux

Siegfried Puchbauer siegfried.puchbauer at gmail.com
Wed May 17 11:49:36 CEST 2006


hi nico,

maybe it would be a good idea to google around for an init script for tomcat
on suse ... the script has to handle parameters (start, stop, restart ...)
In order to make tomcat start when your server boots (suse), you have to
make a sybolic link in an runlevel directory to your init script

eg.
# cd /etc/rc5.d
# ln -s /etc/init.d/tomcat tomcat

hth

On 5/17/06, nickm at absa.co.za <nickm at absa.co.za> wrote:
>
> Hi sigi
> Thanks for the advice
>
> BTW I am using SUSE 9.3 Linux.
>
> I created a file tomcat in this path
> /etc/init.d/tomcat
>
> I placed these command in this tomcat file :
>
> cd $CATALINA_home/bin
> ./startup.sh
>
> And nothing happens the tomcat does not start
>
> Do I need to change the ./startup.sh to just startup.sh
>
> and/or do I need to make a change in another file to point to the tomcat
> file ?
>
> Regards
> Nico
>
> Message: 24
> Date: Tue, 16 May 2006 11:24:51 +0200
> From: "Siegfried Puchbauer" <siegfried.puchbauer at gmail.com>
> Subject: Re: [opencms-dev] AA Starting Tomcat under Linux
>         automatically
> To: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Message-ID:
>         <53239a200605160224i1a4f0457x9aa4f9409875c445 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Which distribution of linux do you use? In my case (gentoo linux) I
> added an
> init script (/etc/init.d/tomcat5) and added this to the default
> runlevel...
> you can check the docs of your distri for how to add a service to the
> default runlevel...
>
> hth
>
> sigi
>
> On 5/16/06, nickm at absa.co.za <nickm at absa.co.za> wrote:
> >
> > Hi there
> >
> > How do I get Tomcat under Linux to start automatically ?
> >
> > I added (exported) a CATALINA_HOME environment variable in my
> > etc/profile
> > I even added this line to my etc/profile :
> > $CATALINA_HOME/bin/startup.sh
> >
> >
> > But the tomcat does not start automatically
> > I want it to start in the root profile so all users can have it
> > available
> >
> >
> > Regards
> > Nico
> >
>
> ___________________________________________________________
>
> Important Notice:
> Authorised Financial Services Provider
>
> Important restrictions, qualifications and disclaimers
> ("the Disclaimer") apply to this email. To read this click on the
> following address or copy into your Internet browser:
>
> http://www.absa.co.za/disclaimer
>
> The Disclaimer forms part of the content of this email in terms of
> section 11 of the Electronic Communications and Transactions
> Act, 25 of 2002.
>
> If you are unable to access the Disclaimer, send a blank e-mail
> to disclaimer at absa.co.za and we will send you a copy of the
> Disclaimer.
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



-- 
Mit freundlichen Grüßen

Siegfried Puchbauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060517/34ea3c42/attachment.htm>


More information about the opencms-dev mailing list