cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Anstey <jans...@iona.com>
Subject Using CXF with ServiceMix 3.1
Date Mon, 05 Mar 2007 23:53:39 GMT
Hi all,

I've been trying to use CXF with the ServiceMix 3.1 release (CXF 
currently supports SM 3.0). With minor modifications (i.e. version 
numbers), the unit tests pass without a hitch, as does the 
integration/JBI/external_provider_external_consumer demo. All other JBI 
samples fail with the following error:

org.springframework.beans.factory.BeanDefinitionStoreException: 
Unexpected exception parsing XML document from class path resource 
[META-INF/cxf/cxf.xml]; nested exception is 
java.lang.IllegalArgumentException: Class 
[org.apache.xbean.spring.context.v2.XBeanNamespaceHandler] does not 
implement the NamespaceHandler interface
Caused by: java.lang.IllegalArgumentException: Class 
[org.apache.xbean.spring.context.v2.XBeanNamespaceHandler] does not 
implement the NamespaceHandler interface
        at 
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
        at 
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
        at 
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:530)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:519)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:499)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:407)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at 
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
        at 
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
        at 
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:292)
        at 
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:73)
        at 
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:61)
        at 
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:52)
        at 
org.apache.cxf.jbi.se.state.ServiceEngineShutdown.initializeBus(ServiceEngineShutdown.java:104)
        at 
org.apache.cxf.jbi.se.state.ServiceEngineShutdown.initSE(ServiceEngineShutdown.java:87)
        at 
org.apache.cxf.jbi.se.state.ServiceEngineShutdown.changeState(ServiceEngineShutdown.java:51)
        at 
org.apache.cxf.jbi.se.CXFServiceEngine.init(CXFServiceEngine.java:81)
        ...

The error is logged by servicemix when I try to start the 
CXFServiceEngine. Does anyone have any hints as to what could be wrong here?

Thanks,
Jon


Mime
View raw message