karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lichtin <lich...@yahoo.com>
Subject Re: Karaf 4.0.7 and ActiveMQ 5.14.1
Date Mon, 07 Nov 2016 19:13:04 GMT
Hi Jochen

Looks like you have the same issue I had back in September?

http://activemq.2283324.n4.nabble.com/Cannot-start-Activemq-5-14-0-in-a-Karaf-OSGi-container-without-internet-access-td4716513.html

I ended up patching the activemq-osgi jar.

- Martin

On 06.11.2016 19:13, jochenw 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.
>


Mime
View raw message