Hello all, I recently upgraded to JAX-RS Whiteboard 1.6.0 (was using 1.1.0) and I'm experiencing some class loading issues related to CXF. One of the components in my application exposes a CXF based web service that is now failing with the following stack trace:
java.lang.ClassCastException: Cannot cast org.apache.cxf.service.factory.FactoryBeanListenerManager to org.apache.cxf.service.factory.FactoryBeanListenerManager at java.lang.Class.cast(Class.java:3369) ~[?:?] at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeanOfType(ExtensionManagerImpl.java:317) ~[?:?] at org.apache.cxf.bus.extension.ExtensionManagerBus.getExtension(ExtensionManagerBus.java:185) ~[?:?] at org.apache.cxf.service.factory.AbstractServiceFactoryBean.setBus(AbstractServiceFactoryBean.java:98) ~[?:?] at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:248) ~[?:?] at org.apache.cxf.frontend.ServerFactoryBean.initializeServiceFactory(ServerFactoryBean.java:242) ~[?:?] at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102) ~[?:?] at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:168) ~[?:?] at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211) ~[?:?] I think this is related to the change made in 1.5.0 where the JAX-RS Whiteboard team changed the way CXF is embedded. I'm using CXF 3.2.5 with Karaf 4.2.6 Regards, João Assunção Email: joao.assun...@exploitsys.com Mobile: +351 916968984 Phone: +351 211933149 Web: www.exploitsys.com