Hi Team,

 

I am getting the below mentioned exception changing from http to https.
Pl help.

 

java.lang.RuntimeException: Protocol mismatch for port 7002: engine's
protocol is http, the url protocol is https

            at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(
JettyHTTPDestination.java:155)

            at
org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTr
ansportFactory.java:290)

            at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTran
sportFactory.java:134)

            at
org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)

            at
org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)

            at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
160)

            at
org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:240)

            at
org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.ja
va:203)

            at
org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenCo
nsumerRoute.java:65)

            at
org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:
80)

            at
org.apache.camel.impl.RouteService.warmUp(RouteService.java:133)

            at
org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelCon
text.java:1986)

            at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(Defau
ltCamelContext.java:1914)

            at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(Defau
ltCamelContext.java:1936)

            at
org.apache.camel.impl.DefaultCamelContext.startRouteService(DefaultCamel
Context.java:1813)

            at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext
.java:724)

            at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultC
amelContext.java:1789)

            at
org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCam
elContext.java:666)

            at
org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:3
37)

            at
org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuild
er.java:264)

            at
org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.
java:628)

            at
com.fss.connectcore.service.util.ConnectUtilService.createRoute(ConnectU
tilService.java:231)

            at com.fss.connectcore.Main.start(Main.java:44)

            at com.fss.connectcore.Main.main(Main.java:34)

Caused by: java.io.IOException: Protocol mismatch for port 7002:
engine's protocol is http, the url protocol is https

            at
org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory.createJ
ettyHTTPServerEngine(JettyHTTPServerEngineFactory.java:270)

            at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.retrieveEngine(
JettyHTTPDestination.java:120)

            at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(
JettyHTTPDestination.java:153)

            ... 23 more

 

 

Regards,

Parthasarathi.M

 



DISCLAIMER:
================================================================================================================
"The information contained in this e-mail message may be privileged and/or 
confidential and protected from disclosure under applicable law. It is intended 
only for the individual to whom or entity to which it is addressed as shown at 
the beginning of the message. If the reader of this message is not the intended 
recipient, or if the employee or agent responsible for delivering the message 
is not an employee or agent of the intended recipient, you are hereby notified 
that any review, dissemination,distribution, use, or copying of this message is 
strictly prohibited. If you have received this message in error, please notify 
us immediately by return e-mail and permanently delete this message and your 
reply to the extent it includes this message. Any views or opinions presented 
in this message or attachments are those of the author and do not necessarily 
represent those of the Company. All e-mails and attachments sent and received 
are subject to monitoring, reading, and archival by the Company"
================================================================================================================

Reply via email to