Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 82794 invoked from network); 29 Dec 2009 16:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Dec 2009 16:52:57 -0000 Received: (qmail 12539 invoked by uid 500); 29 Dec 2009 16:52:57 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 12439 invoked by uid 500); 29 Dec 2009 16:52:57 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 12419 invoked by uid 99); 29 Dec 2009 16:52:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2009 16:52:57 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2009 16:52:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3068234C052 for ; Tue, 29 Dec 2009 08:52:29 -0800 (PST) Message-ID: <8362053.1262105549797.JavaMail.jira@brutus.apache.org> Date: Tue, 29 Dec 2009 16:52:29 +0000 (UTC) From: "Dennis Lundberg (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LOGGING-96) [logging] Include class loader information when LogFactoryImpl throws LogConfigurationException. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOGGING-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg updated LOGGING-96: ----------------------------------- Fix Version/s: 1.1.0 > [logging] Include class loader information when LogFactoryImpl throws LogConfigurationException. > ------------------------------------------------------------------------------------------------ > > Key: LOGGING-96 > URL: https://issues.apache.org/jira/browse/LOGGING-96 > Project: Commons Logging > Issue Type: Improvement > Affects Versions: 1.0.4 > Environment: Operating System: other > Platform: Other > Reporter: Stephen Smith > Priority: Minor > Fix For: 1.1.0 > > > LogFactoryImpl#getLogConstructor throws a LogConfigurationException when the > same class is detected in multiple class loaders. The error message is as follows: > "Invalid class loader hierarchy. You have more than one version of > visible, which is not allowed." > We could improve the usefulness of the error message by including classloader > details such as ClassLoader#getClass, etc. It would greatly reduce the time > spent hunting down multiple copies of Commons Logging (which can frequently > occur when deploying to application servers such as JBoss and WebLogic, as they > often have a version of Commons Logging stowed away in their own class path). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.