Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 85644 invoked from network); 22 Jun 2005 04:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2005 04:34:00 -0000 Received: (qmail 92642 invoked by uid 500); 22 Jun 2005 04:33:53 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 92550 invoked by uid 500); 22 Jun 2005 04:33:52 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 92527 invoked by uid 99); 22 Jun 2005 04:33:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 21:33:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [210.86.15.158] (HELO avmta3-rme.xtra.co.nz) (210.86.15.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 21:33:53 -0700 Received: from mta3-rme.xtra.co.nz ([210.86.15.240]) by avmta3-rme.xtra.co.nz with ESMTP id <20050622043349.TDBB22141.avmta3-rme.xtra.co.nz@mta3-rme.xtra.co.nz>; Wed, 22 Jun 2005 16:33:49 +1200 Received: from [10.1.1.9] ([222.152.206.28]) by mta3-rme.xtra.co.nz with ESMTP id <20050622043349.UKZT4411.mta3-rme.xtra.co.nz@[10.1.1.9]>; Wed, 22 Jun 2005 16:33:49 +1200 Subject: Re: [logging] Problem isolated - get a LogConfigurationException when I have j2ee.jar in my project From: Simon Kitching Reply-To: skitching@apache.org To: Jason Burrows Cc: commons-user@jakarta.apache.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 22 Jun 2005 16:34:57 +1200 Message-Id: <1119414897.4885.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 2005-06-21 at 17:44 -0700, Jason Burrows wrote: > Hi again - > > I have isolated my problem. It only happens when I include j2ee.jar. Have you checked to see whether j2ee.jar contains commons-logging? jar tf j2ee.jar | grep org.apache.commons.logging If it does, then try running your app while ensuring commons-logging.jar is *before* j2ee.jar in the classpath so that your local version takes priority. It might be that j2ee.jar contains commons-logging 1.0.2 or somesuch, which would then explain why the line-number reporting the null-pointer-exception doesn't make sense. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org