-
1. Re: Fuse-cxf-se Problem org.apache.cxf.transport.jbi.JBIDestination
ffang Nov 24, 2011 10:44 PM (in response to joatham.perezexposito)Hi,
Looked at
2011-11-24 17:31:34,731 WARN org.mortbay.jetty:96 EXCEPTION
java.lang.ClassCastException: org.apache.cxf.transport.jbi.JBIDestination
it's most likely your cxf bc consumer configuration is incorrect which pick up the wrong destination(it should be http destination but you try to load jbi destination)
We have cxf-wsdl-first(JBI packaging) and cxf-wsdl-first-osgi-package(OSGi packaging) shipped with kit which is exactly same as your scenario, I think you need take a look and tell the difference with your own project.
Freeman
-
2. Re: Fuse-cxf-se Problem org.apache.cxf.transport.jbi.JBIDestination
joatham.perezexposito Nov 25, 2011 5:36 AM (in response to ffang)My scenario is as follows:
I have ServiceMix deployed in Jboss. Libraries are shared between JBoss and ServiceMix, and I had to remove the component libraries cxf-se. When you deploy service-assemby I get the following message:
Container org.mortbay.jetty.handler.ContextHandler@6407f651{,null} + ErrorHandler@1c38ba8f as errorHandler
It happens exactly the same for service-assembly found in the original distribution of ServiceMix.
The libraries containing the component are:
<path-element> lib/servicemix-cxf-se-3.2.3.jar </ path-element>
<path-element> lib/cxf-rt-frontend-simple-2.0.9.jar </ path-element>
<path-element> lib/cxf-rt-frontend-jaxws-2.0.9.jar </ path-element>
<path-element> lib/cxf-rt-bindings-xml-2.0.9.jar </ path-element
The rest are contained in the cxf-bc, and share-libray jboss.