Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 8:05 PM, André Warnier wrote: >> On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote: >>> >>> James Godrej wrote: >>> 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 direct

Re: problem in shutting down Tomcat server

2011-02-08 Thread André Warnier
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote: James Godrej wrote: 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, an

Re: problem in shutting down Tomcat server

2011-02-08 Thread Konstantin Kolinko
2011/2/8 James Godrej : > 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 Where is "particular fashion" there? The document says JAVA_HOM

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote: > James Godrej wrote: >> >> >> >> - Original Message >> From: James Godrej >> To: Tomcat Users List >> Sent: Tue, 8 February, 2011 3:59:32 PM >> Subject: Re: problem in shutt

Re: problem in shutting down Tomcat server

2011-02-08 Thread André Warnier
James Godrej wrote: - Original Message From: James Godrej To: Tomcat Users List 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 wrote: 2011/2/8 James Godrej : On Tue, Feb 8, 2011

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
- Original Message From: James Godrej To: Tomcat Users List 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 wrote: > 2011/2/8 James Godrej : >> >> On Tue, Feb 8,

Re: problem in shutting down Tomcat server

2011-02-08 Thread Edoardo Panfili
On 08/02/11 11.29, James Godrej wrote: 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

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko wrote: > 2011/2/8 James Godrej : >> >> On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko >> wrote: >>> 2011/2/8 James Godrej : ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found ./catalina.sh: 373: /usr/lib/jv

Re: problem in shutting down Tomcat server

2011-02-08 Thread Konstantin Kolinko
2011/2/8 James Godrej : > > On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko > wrote: >> 2011/2/8 James Godrej : >>> ./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/

Re: problem in shutting down Tomcat server

2011-02-08 Thread André Warnier
James Godrej wrote: ... I repeat : 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 change

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko wrote: > 2011/2/8 James Godrej : >> ./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/bi

Re: problem in shutting down Tomcat server

2011-02-08 Thread André Warnier
The title says "problem in shutting down..", but this seems more about starting up. Are you hijacking another thread ? 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 pat

Re: problem in shutting down Tomcat server

2011-02-08 Thread Konstantin Kolinko
2011/2/8 James Godrej : > ./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

problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
I am using apache-tomcat-5.5.31 on a Ubuntu server.My services websites were running perfectly fine until today morning. I see it down. Here is a link http://sakai.openitup.in It is running in a reverse proxy situation and I see following log [Tue Feb 08 12:55:15 2011] [error] proxy: AJP: disabl