Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 47629 invoked from network); 8 Feb 2011 08:52:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 08:52:53 -0000 Received: (qmail 32387 invoked by uid 500); 8 Feb 2011 08:52:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32180 invoked by uid 500); 8 Feb 2011 08:52:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 31768 invoked by uid 99); 8 Feb 2011 08:52:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 08:52:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 08:52:37 +0000 Received: from [192.168.245.129] (p549E8ABC.dip0.t-ipconnect.de [84.158.138.188]) by tor.combios.es (Postfix) with ESMTPA id C1682226086 for ; Tue, 8 Feb 2011 09:44:49 +0100 (CET) Message-ID: <4D510435.8010608@ice-sa.com> Date: Tue, 08 Feb 2011 09:52:05 +0100 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: problem in shutting down Tomcat server References: <511647.996.qm@web95619.mail.in.yahoo.com> In-Reply-To: <511647.996.qm@web95619.mail.in.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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 James Godrej wrote: > 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: disabled connection for > (192.168.1.4) > [Tue Feb 08 12:55:46 2011] [error] proxy: AJP: disabled connection for > (192.168.1.4) > [Tue Feb 08 12:56:33 2011] [error] (111)Connection refused: proxy: AJP: attempt > to connect to 192.168.1.4:8009 (192.168.1.4) failed > [Tue Feb 08 12:56:33 2011] [error] ap_proxy_connect_backend disabling worker for > (192.168.1.4) > [Tue Feb 08 12:56:33 2011] [error] proxy: AJP: failed to make connection to > backend: 192.168.1.4 > ~ > > > Here is the log from /opt/apache-tomcat-5.5.31/logs/catalina.out > on server where it is actually hosted > > INFO Unregistered entity provider > (org.sakaiproject.poll.tool.entityproviders.PollEntityProvider) and 17 > capabilities > 2011-02-04 14:54:26,664 INFO Thread-16 org.sakaiproject.spring.util.SpringTool > - destroy > 2011-02-04 14:54:26,664 INFO Thread-16 org.sakaiproject.spring.util.SpringTool > - destroy > 2011-02-04 14:54:26,664 INFO Thread-16 org.sakaiproject.spring.util.SpringTool > - destroy > 2011-02-04 14:54:26,665 INFO Thread-16 org.sakaiproject.spring.util.SpringTool > - destroy > 2011-02-04 14:54:26,665 INFO Thread-16 org.sakaiproject.jsf.util.JsfTool - > destroy > 2011-02-04 14:54:26,681 INFO Thread-16 > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/osp-matrix-tool] > - Closing Spring root WebApplicationContext > 2011-02-04 14:54:26,682 INFO Thread-16 > org.sakaiproject.util.ContextLoaderListener - Destroying Components in > osp-matrix > ./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. > > The vhost configuration for this site is as follows > > > > ServerName sakai.openitup.in > ServerAdmin webmaster@localhost > ProxyRequests off > > Order deny,allow > Allow from all > > ProxyPass / ajp://192.168.1.4:8009/ > ProxyPassReverse / ajp://192.168.1.4:8009/ > > > The machine on which my application (sakai 2.7 binary > http://sakaiproject.org/ ) is actually hosted has following also defined as > $JAVA_HOME is set to /usr/lib/jvm/java-6-sun-1.6.0.20 > $CATALINA_HOME is set to /opt/apache-tomcat-5.5.31 > > So now I have no clue as what is causing this error can some one point to right > direction as what more should I look now? > Each time when I try to restart the Tomcat server I am getting the following > error > > ./shutdown.sh > Using CATALINA_BASE: /opt/apache-tomcat-5.5.31 > Using CATALINA_HOME: /opt/apache-tomcat-5.5.31 > Using CATALINA_TMPDIR: /opt/apache-tomcat-5.5.31/temp > Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.20 > Using CLASSPATH: /opt/apache-tomcat-5.5.31/bin/bootstrap.jar > ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found > > which is not correct. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org