Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 31576 invoked from network); 21 Jan 2010 16:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 16:12:17 -0000 Received: (qmail 79346 invoked by uid 500); 21 Jan 2010 16:12:17 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79243 invoked by uid 500); 21 Jan 2010 16:12:17 -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 79233 invoked by uid 99); 21 Jan 2010 16:12:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 16:12:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 21 Jan 2010 16:12:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3134234C1F2 for ; Thu, 21 Jan 2010 08:11:55 -0800 (PST) Message-ID: <2013623835.397401264090315928.JavaMail.jira@brutus.apache.org> Date: Thu, 21 Jan 2010 16:11:55 +0000 (UTC) From: "Joao Paulo Santos (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (CONFIGURATION-406) Multi-tenant Configurations Sample is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Multi-tenant Configurations Sample is not working ------------------------------------------------- Key: CONFIGURATION-406 URL: https://issues.apache.org/jira/browse/CONFIGURATION-406 Project: Commons Configuration Issue Type: Bug Affects Versions: 1.6 Environment: Win32;JDK1.6.0_17;SPRING-3.0.0.RELEASE Reporter: Joao Paulo Santos Fix For: 1.7 Using a SPRING config like this: {quote} configuration.xml {quote} and a the configuration.xml is: {quote}
{quote} invoking to config.getString("any") always return null. Debuging I found that at MultiFileHierarchicalConfiguration in getConfiguration() when a new XMLConfiguration was created as an Inner class. The load() method has been overloded to an empty one. That was preventing the configuration to read the file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.