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