tomcat startup script not working at boot

Tapas Mishra mightydreams at gmail.com
Fri Feb 25 14:57:15 UTC 2011


On Fri, Feb 25, 2011 at 2:51 PM, Colin Law <clanlaw at googlemail.com> wrote:
> On 25 February 2011 05:28, Tapas Mishra <mightydreams at gmail.com> wrote:
>>...
>> My script has finally worked.
>> For some weired reason the script was not working after reboot and it
>> turns out that this Tomcat was not able to pick JAVA_HOME from .bashrc
>> at the boot time.So when I defined JAVA_HOME in the above script also
>> then it did worked.
>
> Which user's .bashrc did you put JAVA_HOME in?
>
> Colin
>
>> I do not know why Tomcat could not pick it from .bashrc at boot time
>> because once the thing completely booted then
>> /etc/init.d/tapas-script start
>> was working but to make sure it survives reboots I had to add
>> JAVA_HOME in this script also (though it was defined in .bashrc)
>
root I was always doing it from there and still from there.




More information about the ubuntu-users mailing list