I don't understand what happens during the classloading

As explained previously, I tried to deploy some CXF BC endpoints from a CXF
SE. My service implementation class receives the arguments needed (wsdl,
endpoint location, service name) and creates the BC endpoint.

The first error was the CXFBC class was missing (during deployment of the SU
in servicemix). I had to add the servicemix-cxf-bc**.jar to my service unit
archive and finally I have an error in my class cast (getComponent() !=
cxfbcprovider)

I wanted to have the same classes of CXFBCProvider (load by the same
classloader). I read the jbi.xml file of the 2 CXF components and this
jbi.xml file indicates the component-class-loader-delegation is set to
"parent-first".

So I tried to move the servicemix-cxf-bc**.jar to shared libraries
And the cxfb/cxfbcprovider is now no more found

I previously watched the deployment and I thought the classloader of the
service unit was created from the classloader of the component.

what's wrong Doc?


-- 
View this message in context: 
http://www.nabble.com/Creation-of-BC-provider-from-a-POJO-%28or-a-CXFSE-component%29-tp18399678p18504020.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to