On Tue, Feb 8, 2011 at 6:18 PM, André Warnier <a...@ice-sa.com> wrote:
> James Godrej wrote:
>>
>>
>>
>> ----- Original Message ----
>> From: James Godrej <jamesgod...@yahoo.in>
>> To: Tomcat Users List <users@tomcat.apache.org>
>> Sent: Tue, 8 February, 2011 3:59:32 PM
>> Subject: Re: problem in shutting down Tomcat server
>>
>>
>>
>>
>> On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko
>> <knst.koli...@gmail.com> wrote:
>>>
>>> 2011/2/8 James Godrej <jamesgod...@yahoo.in>:
>>>>
>>>> On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko
>>>> <knst.koli...@gmail.com>
>>>> wrote:
>>>>>
>>>>> 2011/2/8 James Godrej <jamesgod...@yahoo.in>:
>>>>>>
>>>>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not
>>>>>> found
>>>>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not
>>>>>> found
>>>>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not
>>>>>> found
>>>>>>
>>>>>> Upon seeing the last 3 lines I verified in the folder
>>>>>> /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java
>>>>>> exists which it complains as not found.
>>>>>
>>>>> What does the following command print:
>>>>>
>>>>> /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java -version
>>>>
>>>>  /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java -version
>>>
>>> The above two paths are different. Have you noted it?
>>
>> Hi Konstantin you are absolutely right I think that my updates to Ubuntu
>> have over written my Java Installations because Sakai needs 1.6.20 to run as
>> their doc here
>> https://confluence.sakaiproject.org/display/DOC/Sakai+2.7 (binary version)
>> says and it appears that my environment above has been over written.
>> I checked JAVA_HOME in .bashrc had that old value only and not to 1.6.22
>> which is what this one is pointing.
>> Thanks for your message.
>>
>
> To avoid this same issue in the future, maybe you should set JAVA_HOME or
> JRE_HOME to a "higher-level" link to the Java installation directory.
>  Usually, Ubuntu/Debian set this as /usr/lib/jvm/java-6-sun for example, and
> this link gets updated automatically when you update sun-java.
>
>
> ---------------------------------------------------------------------
I could not understand your suggestion completely.
Sakai needs JAVA_HOME in a particular fashion.
https://confluence.sakaiproject.org/display/DOC/Sakai+2.7
see the binary version on the link I mentioned
i.e. if I have 
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22
then as per what you said what should I be doing to avoid it.
Do you mean I make some thing as
JAVA_HOME=/usr/lib/jvm/
then what next to link it?
Because in case of Ubuntu upgrade that still might break the link
Let me know.
-------------
Thanks


-- 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to