From user-return-14842-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Fri May 07 17:44:44 2010 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 791 invoked from network); 7 May 2010 17:44:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 17:44:44 -0000 Received: (qmail 9062 invoked by uid 500); 7 May 2010 17:44:43 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 8947 invoked by uid 500); 7 May 2010 17:44:43 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 8940 invoked by uid 99); 7 May 2010 17:44:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 17:44:43 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kevan.miller@gmail.com designates 74.125.83.54 as permitted sender) Received: from [74.125.83.54] (HELO mail-gw0-f54.google.com) (74.125.83.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 17:44:34 +0000 Received: by gwaa20 with SMTP id a20so379234gwa.13 for ; Fri, 07 May 2010 10:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=eVJHdtPHS2+COz/NwJu3JPOStTWlUpk2xmGo/TZj/p0=; b=m7jRyKM1FYt+HSr78XozUIB5jx+hLBJdq8ul57KmyPypoH13J988GaBsAMBi/ANNtV CRZE9yIonaves1F6iuNKNp52+3EuZGUayqnIP7XzZEL3PbOp/1zEcIO0I4njs29UJfqp I1h6NDHE9d0FdTAqaKDq4qJIOX3WDUK7F4goE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=CGSUJxSm57p4Ci5pJi/UqLLnSdRuV0NnhNOE2BKyOo5tkofV15iPm8FfxvL71dA+4d ZlDJM2zuWj55Ql0ANLmsBPCrnTzKmhok1LrKrJGDHA/95EMVGO92yQWRgK3dqgbliAFk WNaXBzJqEX0YtsMOCcrEP6Zl+NEr6vDq0rZA4= Received: by 10.231.160.135 with SMTP id n7mr195543ibx.26.1273254253452; Fri, 07 May 2010 10:44:13 -0700 (PDT) Received: from [10.0.34.233] ([63.164.47.229]) by mx.google.com with ESMTPS id ct37sm736502ibb.19.2010.05.07.10.44.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 May 2010 10:44:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: Problem with log4j and geronimo 2.1.1 From: Kevan Miller In-Reply-To: <4BE3EAD8.4AAF.00BD.0@cavs.msstate.edu> Date: Fri, 7 May 2010 13:44:08 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4BE3EAD8.4AAF.00BD.0@cavs.msstate.edu> To: user@geronimo.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org On May 7, 2010, at 11:26 AM, Marshall Crocker wrote: > I'm having a problem getting geronimo 2.1.1 to use my = log4j.properties. It works fine with geronimo 2.1.4 but our production = server is still at 2.1.1. >=20 > And my log4j.properties file is in WEB-INF/classes/META-INF/ >=20 > This exception isn't very helpful and the fact that it works with = 2.1.4 makes me think that its a bug in geronimo 2.1.1. =20 >=20 > Any ideas on how to make it work without upgrading? See https://issues.apache.org/jira/browse/GERONIMO-4286 Applying this patch would fix your problem, I think: = http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/module= s/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/A= pplicationLog4jConfigurationGBean.java?p2=3D%2Fgeronimo%2Fserver%2Fbranche= s%2F2.1%2Fframework%2Fmodules%2Fgeronimo-system%2Fsrc%2Fmain%2Fjava%2Forg%= 2Fapache%2Fgeronimo%2Fsystem%2Flogging%2Flog4j%2FApplicationLog4jConfigura= tionGBean.java&p1=3D%2Fgeronimo%2Fserver%2Fbranches%2F2.1%2Fframework%2Fmo= dules%2Fgeronimo-system%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fgeronimo%2Fsy= stem%2Flogging%2Flog4j%2FApplicationLog4jConfigurationGBean.java&r1=3D6985= 97&r2=3D698596&view=3Ddiff&pathrev=3D698597 Alternatively, use the "log4jFile" property, instead of "log4jResource" = (you'd have to move your log configuration file out of your app...). --kevan=