Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 69065 invoked from network); 28 Oct 2010 13:13:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Oct 2010 13:13:24 -0000 Received: (qmail 29095 invoked by uid 500); 28 Oct 2010 13:13:23 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 28882 invoked by uid 500); 28 Oct 2010 13:13:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 28856 invoked by uid 99); 28 Oct 2010 13:13:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 13:13:22 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 13:13:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9SDD1xP008826 for ; Thu, 28 Oct 2010 13:13:01 GMT Message-ID: <30821276.1681288271581458.JavaMail.jira@thor> Date: Thu, 28 Oct 2010 09:13:01 -0400 (EDT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Assigned: (AMQ-3005) The spring.schemas file contains an invalid mapping In-Reply-To: <18283687.831288193940054.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully reassigned AMQ-3005: ------------------------------- Assignee: Gary Tully > The spring.schemas file contains an invalid mapping > ---------------------------------------------------- > > Key: AMQ-3005 > URL: https://issues.apache.org/activemq/browse/AMQ-3005 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.4.1 > Reporter: Michael Monette > Assignee: Gary Tully > Priority: Minor > > The spring.schemas file, in META-INF, contains the following mappings: > http\://activemq.org/config/1.0=activemq.xsd > http\://activemq.org/config/1.0/1.0.xsd=activemq.xsd > http\://activemq.apache.org/schema/core=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core.xsd=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd=activemq.xsd > http\://activemq.apache.org/schema/core/activemq-core-${pom.version}.xsd=activemq.xsd > The final mapping contains an unresolved placeholder, ${pom.version}. XML files which use, for example http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd as a schemaLocation reference will fail to be mapped correctly with the spring.schemas mechanism. This failure is silent on an internet-connected machine which is allowed to resolve the schemaLocation through the http:// url. When the machine is not internet-connected, though, the failure rears its ugly head and smacks down hard on my webapp's startup with a SAXParseException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.