camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gargankur007 <gargankur...@gmail.com>
Subject Web Srevice exposed over https not working
Date Sat, 16 May 2015 21:04:59 GMT
Hi 

Previously I had deployed a JAX-WS using CXF over http.
Eversince I have changed it to configure it over https it has started
working.

I am getting below exception on sending a request to it

org.apache.cxf.interceptor.Fault: Marshalling Error: Closed
	at
org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:265)[165:org.apache.cxf.cxf-rt-databinding-jaxb:2.7.0.redhat-610379]
	at
org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:221)[165:org.apache.cxf.cxf-rt-databinding-jaxb:2.7.0.redhat-610379]
	at
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:114)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:242)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:195)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:193)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.Server.handleAsync(Server.java:410)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:519)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
Caused by: javax.xml.bind.MarshalException
 - with linked exception:
[java.io.IOException: Closed]
	at
com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:320)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:244)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:74)[:2.3.0.redhat-610379]
	at
org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:612)[165:org.apache.cxf.cxf-rt-databinding-jaxb:2.7.0.redhat-610379]
	at
org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:240)[165:org.apache.cxf.cxf-rt-databinding-jaxb:2.7.0.redhat-610379]
	... 32 more
Caused by: java.io.IOException: Closed
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:140)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination$JettyOutputStream.write(JettyHTTPDestination.java:423)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.flushBuffer(UTF8XmlOutput.java:413)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.endDocument(UTF8XmlOutput.java:137)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
com.sun.xml.bind.v2.runtime.XMLSerializer.endDocument(XMLSerializer.java:852)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
com.sun.xml.bind.v2.runtime.MarshallerImpl.postwrite(MarshallerImpl.java:369)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	at
com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:316)[128:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
	... 36 more
02:06:58,484 | WARN  | tp2029422134-687 | PhaseInterceptorChain            |
164 - org.apache.cxf.cxf-api - 2.7.0.redhat-610379 | Interceptor for
{http://tempuri.org/}PaymentResultHandlingWebService_PWS_RMHP_HOP3_PAYMENT#{http://tempuri.org/}HandlePaymentProcessingResult
has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error writing to XMLStreamWriter.
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:308)[167:org.apache.cxf.cxf-rt-bindings-soap:2.7.0.redhat-610379]
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:290)[167:org.apache.cxf.cxf-rt-bindings-soap:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:336)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:242)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:195)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:193)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.Server.handleAsync(Server.java:410)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:519)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
Caused by: com.ctc.wstx.exc.WstxIOException: Closed
	at
com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1406)[156:woodstox-core-asl:4.2.0]
	at
com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:536)[156:woodstox-core-asl:4.2.0]
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:302)[167:org.apache.cxf.cxf-rt-bindings-soap:2.7.0.redhat-610379]
	... 32 more
Caused by: java.io.IOException: Closed
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:140)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination$JettyOutputStream.write(JettyHTTPDestination.java:423)[183:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0.redhat-610379]
	at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[164:org.apache.cxf.cxf-api:2.7.0.redhat-610379]
	at
com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)[156:woodstox-core-asl:4.2.0]
	at
com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)[156:woodstox-core-asl:4.2.0]
	at
com.ctc.wstx.sw.BufferingXmlWriter.close(BufferingXmlWriter.java:198)[156:woodstox-core-asl:4.2.0]
	at
com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1404)[156:woodstox-core-asl:4.2.0]
	... 34 more

Can anyone help?



--
View this message in context: http://camel.465427.n5.nabble.com/Web-Srevice-exposed-over-https-not-working-tp5767156.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message