how to have tomcat always starting upon
Tim Dunphy
bluethundr at gmail.com
Fri Feb 4 14:51:56 UTC 2011
this should work for you:
http://tinyurl.com/4ofdvhw
once you find the init script and tweak JAVA_HOME and CATALINA_HOME to
the right values then go chkconfig tomcat on if you're on a red hat
type distro (such as CentOS) or update-rc.d tomcat enable 2345 if you
are on an Ubuntu / Debian style server. Make sure you have the name of
the init script right by ls'ing your init directory (/etc/init.d) and
looking for the right name or else this won't work.
regards,
tim
On Fri, Feb 4, 2011 at 7:49 AM, Alan Pope <popey at ubuntu.com> wrote:
> On 4 February 2011 12:34, Tapas Mishra <mightydreams at gmail.com> wrote:
>> I am having an environment in /opt/apache-tomcat-5.5.31/bin
>> when I manually login to server via ssh after a reboot then I go to
>> above directory
>> and do ./startup.sh then it works.I want to automate is.
>> Is this some how possible?
>>
>
> Google + "tomcat init script" =
> http://www.google.co.uk/search?q=tomcat+init+script
>
> First hit looks good.
>
> http://raibledesigns.com/tomcat/boot-howto.html
> Tweak the CATALINA_HOME variable.
>
> Al.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
More information about the ubuntu-users
mailing list