how to have tomcat always starting upon
Tapas Mishra
mightydreams at gmail.com
Sat Feb 5 07:08:29 UTC 2011
On Fri, Feb 4, 2011 at 6:19 PM, 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.
>
> --
Your link looks good to me.I have one doubt it says to have a user
tomcat for this.Is this strictly necessary?
Also I have all the variables defined in .bashrc so do I need to
define them again in tomcat init script as per your link.
More information about the ubuntu-users
mailing list