Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 098AD200BE1 for ; Mon, 19 Dec 2016 15:23:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08260160B3D; Mon, 19 Dec 2016 14:23:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 52537160B18 for ; Mon, 19 Dec 2016 15:22:59 +0100 (CET) Received: (qmail 52996 invoked by uid 500); 19 Dec 2016 14:22:58 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 52966 invoked by uid 99); 19 Dec 2016 14:22:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2016 14:22:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6D04E2C0059 for ; Mon, 19 Dec 2016 14:22:58 +0000 (UTC) Date: Mon, 19 Dec 2016 14:22:58 +0000 (UTC) From: "Christopher L. Shannon (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-6544) ActiveMQ does not start up on karaf if offline (SAXParseException) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Dec 2016 14:23:00 -0000 [ https://issues.apache.org/jira/browse/AMQ-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher L. Shannon resolved AMQ-6544. ----------------------------------------- Resolution: Fixed Fix Version/s: (was: 5.x) 5.14.3 5.15.0 > ActiveMQ does not start up on karaf if offline (SAXParseException) > ------------------------------------------------------------------ > > Key: AMQ-6544 > URL: https://issues.apache.org/jira/browse/AMQ-6544 > Project: ActiveMQ > Issue Type: Bug > Components: OSGi/Karaf > Affects Versions: 5.14.2 > Environment: Karaf, Offline > Reporter: Christian Schneider > Assignee: Christian Schneider > Fix For: 5.15.0, 5.14.3 > > > To reproduce: > - Download, unpack and start karaf 4.0.8 > feature:repo-add activemq 5.14.2 > feature:install activemq-broker > ActiveMQ start succesfully. > Now stop karaf, go offline and start karaf again. > This time the exception below can be found in the log and ActiveMQ fails to start. > org.osgi.service.cm.ConfigurationException: null : Cannot start the broker > Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 24 in XML document from URL [file:/home/cschneider/java/apache-karaf-4.0.8/etc/activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of element 'beans'. > Caused by: org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of element 'beans'. > Full stack trace can be found here http://apaste.info/PQSHZ > The reason for this problem seems to be that the xsd can not be found. So I assume we lack the correct mapping from urls to embedded xsds. > I will work on a fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332)