Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55860 invoked from network); 8 Feb 2011 15:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 15:44:16 -0000 Received: (qmail 58674 invoked by uid 500); 8 Feb 2011 15:44:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56321 invoked by uid 500); 8 Feb 2011 15:44:07 -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 56291 invoked by uid 99); 8 Feb 2011 15:44:02 -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 15:44:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [121.101.151.212] (HELO nm3-vm0.bullet.mail.in.yahoo.com) (121.101.151.212) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Feb 2011 15:43:53 +0000 Received: from [121.101.151.238] by nm3.bullet.mail.in.yahoo.com with NNFMP; 08 Feb 2011 15:43:34 -0000 Received: from [121.101.151.233] by tm3.bullet.mail.in.yahoo.com with NNFMP; 08 Feb 2011 15:43:35 -0000 Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 08 Feb 2011 15:43:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 503057.31266.bm@omp1002.mail.in.yahoo.com Received: (qmail 72321 invoked by uid 60001); 8 Feb 2011 15:43:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1297179812; bh=kv8cETfeRcSA2FVOExf4NSVRvUe9DAypQQ3GqpU78+8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xouOE86XZgNr+TNiVDUn+om9JfuEVhgYCGO7wvoIggCGme1ZZS8KNrrA2n1Ehs7ICECKluqQzJG3MPoNLDoXf6st45w2nkqOu48qgJLJs5cxwtYtC8ejpG3gInaiPO+EmnFGPcTan0oujmNbp362kt45WrE5sh+neUksREmF46Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E/ojZ6yJs1s12IUuEPjsXfH5EHuhFcgE4OvhUK3W+g9QMHfPBdHiy0V+58luZkZMmN6w39Gy/3vCiftPt2kov7lG8ETtV9HQ1jvoCHd+zwJtcDf40qIygS0R5FNIVARAstEKq1KnMODFqukc/J1gBWN0IjV3IiJwYL3tT9i9Zyg= ; Message-ID: <950508.68636.qm@web95617.mail.in.yahoo.com> X-YMail-OSG: yAUll.8VM1nqtMiF265f5YKDXLdI3m7DEwWWzZIIJqOVbqI BA5hrlC1YBoNdNuBQphMTTvMqpnX6u6CpepNxN8bK7BR4f2GYsOFuuEe1dco ZkigdIMlbtiupjvfOSzlTpKGGvdYnc23nLBTZC5czHkKB48MqV8bKbN6CV3p sUoBjev9OocIXCSZ9EIGYG5xgj2.GigU5HBrDneiecfruET10PNOS5kampeo qzQUPV2gj Received: from [122.167.131.213] by web95617.mail.in.yahoo.com via HTTP; Tue, 08 Feb 2011 21:13:31 IST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.108.291010 References: <511647.996.qm@web95619.mail.in.yahoo.com> <810553.6016.qm@web95610.mail.in.yahoo.com> <199048.68722.qm@web95610.mail.in.yahoo.com> <654541.62685.qm@web95601.mail.in.yahoo.com> <4D513B94.9070903@ice-sa.com> <897804.37120.qm@web95604.mail.in.yahoo.com> <4D5154AB.9030103@ice-sa.com> Date: Tue, 8 Feb 2011 21:13:31 +0530 (IST) From: James Godrej Subject: Re: problem in shutting down Tomcat server To: Tomcat Users List , Tomcat Users List In-Reply-To: <4D5154AB.9030103@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org =0A=0A=0AOn Tue, Feb 8, 2011 at 8:05 PM, Andr=E9 Warnier wr= ote:=0A>> On Tue, Feb 8, 2011 at 6:18 PM, Andr=E9 Warnier w= rote:=0A>>>=0A>>> James Godrej wrote:=0A>>>>=0A>>>>=0A>>> To avoid this sam= e issue in the future, maybe you should set JAVA_HOME or=0A>>> JRE_HOME to = a "higher-level" link to the Java installation directory.=0A>>> Usually, U= buntu/Debian set this as /usr/lib/jvm/java-6-sun for example,=0A>>> and=0A>= >> this link gets updated automatically when you update sun-java.=0A>>>=0A>= >>=0A>>> ------------------------------------------------------------------= ---=0A>>=0A>> I could not understand your suggestion completely.=0A>> Sakai= needs JAVA_HOME in a particular fashion.=0A>> https://confluence.sakaiproj= ect.org/display/DOC/Sakai+2.7=0A>> see the binary version on the link I men= tioned=0A>=0A> No, it does not. It says :=0A>=0A> 1.1 Set Java environment= variables=0A> ...=0A> Set the JAVA_HOME environment variable to point to t= he base directory of=0A> your Java installation...=0A>=0A> So if you set JA= VA_HOME=3D/usr/lib/jvm/java-6-sun=0A> and /usr/lib/jvm/java-6-sun is a link= which points to=0A> /usr/lib/jvm/java-6-sun-1.6.0.22 (which is "the base o= f your Java=0A> installation"), then it will work fine.=0A>=0A> And the day= that you run an update, and the Ubuntu package manager replaces=0A> java-6= -sun-1.6.0.22 by java-6-sun-1.6.0.36, it will also update the link=0A> /usr= /lib/jvm/java-6-sun to point to this new directory, and it will /still/=0A>= work.=0A>=0A> And the same for Tomcat's JAVA_HOME.=0A> Both Tomcat and the= sakai package care only about one thing : that the=0A> JAVA_HOME variable = points to a valid Java directory, under which they will=0A> find a bin/java= executable to run.=0A>=0A> But this is getting us a bit far from pure Tomc= at support, and entering the=0A> area of OS'es and filesystems and package = setup tactics.=0A>=0AAndre thanks for this message this was really useful.= =0A=0A=0A-- =0A=0A=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org