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
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


On Tue, Feb 8, 2011 at 2:22 PM, André Warnier <a...@ice-sa.com> wrote:
> The title says "problem in shutting down..", but this seems more about
> starting up.
> Are you hijacking another thread ?
No
> Apart from that, regarding :
> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>
> There seems to be something funny with that path.
> In catalina.sh, this path is in the content of the variable "$_RUNJAVA".
> This variable is set in "setclasspath.sh", to "$JRE_HOME/bin/java".
>
> Are you sure that when you are the same user as the one under which Tomcat
> normally runs, you can find that "java", by walking each component of the
> above path one after the other ?
> Like :
> su - tomcat55
> cd /usr
> cd lib
> cd jvm
> .. and so on
I have not changed on my server every thing was happening as root only.
Last week I have done a system update which went on smoothly without any error.

-- 



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

Reply via email to