Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 69056 invoked from network); 8 Mar 2007 16:40:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 16:40:14 -0000 Received: (qmail 18057 invoked by uid 500); 8 Mar 2007 16:40:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 18015 invoked by uid 500); 8 Mar 2007 16:40:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 18004 invoked by uid 99); 8 Mar 2007 16:40:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 08:40:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ted.kirby@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 08:40:10 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1345029ugc for ; Thu, 08 Mar 2007 08:39:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iAT/ZrSA3qWpAdWz6+3lVYVSb+IbyYNKC/JUO8fF+JdGxiqztH8rmA/L1mX88mEDDy7W82f3CHl6dCidcVVzSJheZWyY2X+glWOWnx2fPYoTqDrCn7B7wDX+tAVcwF2v439CO7zZGR2dokqV4Ain0jlU3HY3A5vBLF0o1cGwkR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lSgDRw2ljuMQPNIwNzOFvnBYHoUsIOWeK5cWwcmUlQR3R8pP3/euQa737w+Rh12bGt1j3a5DpqpvYZIklfSrghiEKu/ZvgH+NL0Hnc8FbBvIU8zak7Ixa3JZHvCOk/vx9uVIqwSrfXRorDsoOjrWGXBG7uHj7jmTSDyCJLmPIf4= Received: by 10.114.195.19 with SMTP id s19mr211518waf.1173371987889; Thu, 08 Mar 2007 08:39:47 -0800 (PST) Received: by 10.114.77.8 with HTTP; Thu, 8 Mar 2007 08:39:47 -0800 (PST) Message-ID: <3da992810703080839p556e9256oe63ae460573e7870@mail.gmail.com> Date: Thu, 8 Mar 2007 11:39:47 -0500 From: "Ted Kirby" To: dev@geronimo.apache.org Subject: Re: Cound not determine the installation directory of AG, because ... messages In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org DirectoryUtils has the same static code block that essentially (tries to) determine GERONIMO_BASE (install directory) by getting the parent directory of bin\server.jar, and prints that error message if it fails. I think this code should be removed from static blocks, put in one place, and only called once when and if it is needed. (That is, in DirectoryUtils.getGeronimoInstallDirectory(), and ConfigurationUtil.loadBootstrapConfiguration().) It appears not be be needed in both of the cases you mention. Ted Kirby On 3/8/07, Sachin Patel wrote: > > Have people noticed this message during the build (though it doesn't cause a > build failure).. I also get it every time when deploying projects to G2.0 > using the eclipse-plugin. > > 10:39:44,927 ERROR [ConfigurationUtil] Cound not determine the installation > directory of Apache Geronimo, because the startup jar could not be found in > the current class loader. > > Any thoughts to why this is being thrown? > > -sachin > >