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?
Thanks for pointing that out I have done an update of server and since then I 
think this has been a problem which went un
noticed.
> BTW, your catalina.sh apparently differs from the default one. (373 is
> not the line number that I would expect to see here).
>
>> java version "1.6.0_22"
>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
>>
>>> Do you have executable permissions for the "java" file there?
>>
>> ls -l /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java
>> lrwxrwxrwx 1 root root 15 2011-02-04 12:52
>> /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java -> ../jre/bin/java

>
> Those are permissions of the symlink, not of the actual file.
When I type ls -l for this I get only that output.
I do not know how can I check the permissions other than this way.




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

Reply via email to