Did you just install the "vanilla" ActiveMQ feature? On Sun, Nov 6, 2016 at 1:13 PM jochenw <[email protected]> wrote:
> Hi, > > when installing ActiveMQ 5.14.1 in Karaf 4.0.7, starting the broker results > in an error while reading activemq.xml. Steps to reprocude it: > - fresh Karaf 4.0.7, standard composition > - repo-add activemq > - feature:install activemq-broker-noweb > - remove the start=false from activemq.xml > - restart Karaf > > The first exception is attached below. After that, the broker cannot start > (Cannot find the declaration of element 'beans'). In a slightly different > configuration, I have seen an error message that it cannot fine the > spring-beans schema. That all happens from Activemq 5.13.4 onwards. 5.13.3 > works. > > Is there some easy solution? > > Best Regards, > Jochen > > > 2016-11-06 19:05:06,672 | WARN | ctivemq.server]) | > XmlBeanDefinitionReader > | 78 - org.apache.servicemix.bundles.spring-beans - 3.2.17.RELEASE_1 | > Ignored XML validation warning > java.net.ConnectException: Connection timed out: connect > at > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source)[:] > at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown > Source)[:] > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown > Source)[:] > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown > Source)[:] > at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown > Source)[:] > at > org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown > Source)[:] > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown > Source)[:] > at > > org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown > Source)[:] > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source)[:] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source)[:] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source)[:] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source)[:] > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)[:] > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[:] > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown > Source)[:] > at > > org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:389)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)[78:org.apache.servicemix.bundles.spring-beans:3.2.17.RELEASE_1] > at > > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)[79:org.apache.servicemix.bundles.spring-context:3.2.17.RELEASE_1] > at > > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)[79:org.apache.servicemix.bundles.spring-context:3.2.17.RELEASE_1] > at > > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[79:org.apache.servicemix.bundles.spring-context:3.2.17.RELEASE_1] > at > > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:542)[79:org.apache.servicemix.bundles.spring-context:3.2.17.RELEASE_1] > at > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)[79:org.apache.servicemix.bundles.spring-context:3.2.17.RELEASE_1] > at > > org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:126)[61:org.apache.activemq.activemq-osgi:5.14.1] > at > > org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159)[3:org.apache.felix.configadmin:1.8.8] > at > > org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93)[3:org.apache.felix.configadmin:1.8.8] > at > > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1602)[3:org.apache.felix.configadmin:1.8.8] > at > > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1545)[3:org.apache.felix.configadmin:1.8.8] > at > > org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)[3:org.apache.felix.configadmin:1.8.8] > at > > org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)[3:org.apache.felix.configadmin:1.8.8] > at java.lang.Thread.run(Thread.java:745)[:1.8.0_40] > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-4-0-7-and-ActiveMQ-5-14-1-tp4048591.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
