Hi Micky,

I don't know how do you initiate the Camel context in Tomcat. Can you show me the codes ?

If you just want to leverage the CXF servlet transport, you need to get the bus instance from CXFServlet and set it as the default bus to let camel-cxf component to use.

If not the camel-cxf component will try to let jetty listen to the address which you specify in the URI, since you have no SSL configuration for the Jetty engine , some exception is thrown out.

Willem

Micky Santomax wrote:
I set a routing with cxf endpoint on https protocol, when I install my
application in Tomcat container the following exception is throw :
ERROR [test.springfreesbee.ContextStartup - contextInitialized] -
org.apache.cxf.service.factory.ServiceConstructionException

My routing is :
this.from("cxf:https://localhost:8197/SSLTest?serviceClass=temp.CxfWSImpl&dataFormat=MESSAGE";)
     .process(new MyProcessor());

Can someone help me ?

Reply via email to