activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcin <mtros...@gmail.com>
Subject Activemq 5.10 - problem with create broker in osgi environment
Date Mon, 19 Jan 2015 19:39:47 GMT
Hi,

My application runs on OSGi environment. One of the modules is embeded
activemq broker in version 5.5. I would like to upgrade activemq broker to
5.10. Unfortunately, during the start broker's module exception is thrown:

org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://activemq.apache.org/schema/core
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:284)[62:org.apache.xbean
.spring:3.18.0]
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)[62:org.apache.xbean.spring:3.18.0]
        at
org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)[62:org.apache.xbean.spring:3.18.0]
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1432)[49:org.apache
.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1422)[49:org.apache
.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:187
)[49:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.jav
a:147)[49:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
.....

Comparing activemq-core module (5.5) with activemq-osgi (5.10) I noticed
that activemq-core (5.5) module exports package
META-INF.services.org.apache.xbean.spring.http.activemq.apache.org.schema
while the activemq-osgi (5.10) module does not export this package. When I
edit the MANIFEST.MF adding in Export-Package: ....,
META-INF.services.org.apache.xbean.spring.http.activemq.apache.org.schema
everything works.

My question is why activemq-osgi (5.10) does not export package
META-INF.services.org.apache.xbean.spring.http.activemq.apache.org.schema ?

Regards,
Marcin



--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-5-10-problem-with-create-broker-in-osgi-environment-tp4690121.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message