camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Disturbing WARNING from CXF
Date Sun, 06 Jan 2013 18:37:35 GMT
Update:
Upgrading to CXF 2.6.4 solved this issue and the performance is better.
However, if I execute the "secure-proxy" test, I get the following
exception and the test failed:

Stacktrace:
org.apache.cxf.binding.soap.SoapFault: General security error (Unable to
load class org.apache.ws.security.processor.SignatureProcessor)
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.createSoapFault(WSS4JInInterceptor.java:800)[139:org.apache.cxf.cxf-rt-ws-security:2.6.4]
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:332)[139:org.apache.cxf.cxf-rt-ws-security:2.6.4]
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:98)[139:org.apache.cxf.cxf-rt-ws-security:2.6.4]
    at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[72:org.apache.cxf.cxf-api:2.6.4]
    at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[72:org.apache.cxf.cxf-api:2.6.4]
    at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:209)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:189)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:145)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:713)[98:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:201)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
    at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[86:org.eclipse.jetty.security:7.5.4.v20111024]
    at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
    at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.Server.handle(Server.java:349)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:588)[90:org.eclipse.jetty.http:7.5.4.v20111024]
    at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[90:org.eclipse.jetty.http:7.5.4.v20111024]
    at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[85:org.eclipse.jetty.io:7
.5.4.v20111024]
    at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[85:org.eclipse.jetty.io:7
.5.4.v20111024]
    at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[93:org.eclipse.jetty.util:7.5.4.v20111024]
    at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[93:org.eclipse.jetty.util:7.5.4.v20111024]
    at java.lang.Thread.run(Thread.java:680)[:1.6.0_37]
Caused by: org.apache.ws.security.WSSecurityException: General security
error (Unable to load class
org.apache.ws.security.processor.SignatureProcessor)
    at
org.apache.ws.security.WSSConfig.getProcessor(WSSConfig.java:789)[133:org.apache.ws.security.wss4j:1.6.8]
    at
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:394)[133:org.apache.ws.security.wss4j:1.6.8]
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:276)[139:org.apache.cxf.cxf-rt-ws-security:2.6.4]
    ... 36 more
Caused by: java.lang.ClassCastException:
org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to
javax.xml.crypto.dsig.XMLSignatureFactory
    at
javax.xml.crypto.dsig.XMLSignatureFactory.findInstance(XMLSignatureFactory.java:202)
    at
javax.xml.crypto.dsig.XMLSignatureFactory.getInstance(XMLSignatureFactory.java:186)
    at
org.apache.ws.security.processor.SignatureProcessor.<init>(SignatureProcessor.java:100)[133:org.apache.ws.security.wss4j:1.6.8]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)[:1.6.0_37]
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_37]
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_37]
    at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_37]
    at java.lang.Class.newInstance0(Class.java:355)[:1.6.0_37]
    at java.lang.Class.newInstance(Class.java:308)[:1.6.0_37]
    at
org.apache.ws.security.WSSConfig.getProcessor(WSSConfig.java:784)[133:org.apache.ws.security.wss4j:1.6.8]
    ... 38 more

It looks like SPI mechanism doesn't worked because
"org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory" (from JDK) was
instanciated and not
"org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory" (from the
xmlsec bundle). :-(

After downgrading wss4j from 1.6.8 to 1.6.7 (the first difference in the
dependencies between 2.6.3 and 2.6.4 I discovered), I get the following
exception and the test failed:

Stacktrace:
java.lang.NoSuchMethodError:
org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor.decodeAlgorithmSuite(Lorg/apache/ws/security/handler/RequestData;)V
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.setAlgorithmSuites(WSS4JInInterceptor.java:438)
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:232)
    at
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:98)
    at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[72:org.apache.cxf.cxf-api:2.6.4]
    at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[72:org.apache.cxf.cxf-api:2.6.4]
    at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:209)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:189)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:145)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:713)[98:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:201)[105:org.apache.cxf.cxf-rt-transports-http:2.6.4]
    at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
    at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[86:org.eclipse.jetty.security:7.5.4.v20111024]
    at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
    at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
    at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.Server.handle(Server.java:349)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:588)[90:org.eclipse.jetty.http:7.5.4.v20111024]
    at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[90:org.eclipse.jetty.http:7.5.4.v20111024]
    at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[89:org.eclipse.jetty.server:7.5.4.v20111024]
    at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[85:org.eclipse.jetty.io:7
.5.4.v20111024]
    at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[85:org.eclipse.jetty.io:7
.5.4.v20111024]
    at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[93:org.eclipse.jetty.util:7.5.4.v20111024]
    at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[93:org.eclipse.jetty.util:7.5.4.v20111024]
    at java.lang.Thread.run(Thread.java:680)[:1.6.0_37]

Any idea what I could try out?

Best,
Christian



On Sun, Jan 6, 2013 at 6:33 PM, Christian Müller <
christian.mueller@gmail.com> wrote:

> Environment: SMX 4.5.0-SNAPSHOT (20121127) + CXF 2.6.3 + Camel 2.10.3
>
> For the upcoming ESB Performance Test Round 7 [1], I prepared the test for
> the new ServiceMix 4.5.0 and Camel 2.10.3. You can find the complete
> project at [2]. The README file [3] explains how I "tuned" my installation.
>
> All tests run successfully. However, in my log file, I see lots of stack
> traces like the one below. Because most of the tests are also slower
> compared with ServiceMix 4.4.2 + Camel 2.8.5 + CXF 2.4.6 (compare [4] with
> [5]), I'm wondering whether this is the reason?
> Is this a known (CXF, Jetty, ...) issue?
> I will check if I see this also with CXF 2.6.4.
>
> [1]
> http://esbperformance.org/display/comparison/Framework+-+Performance+Test+Cases
> [2] https://github.com/muellerc/esbperformance/tree/master/servicemix-osgi
> [3]
> https://github.com/muellerc/esbperformance/blob/master/servicemix-osgi/README.txt
> [4]
> https://github.com/muellerc/esbperformance/blob/esbperformance-1.1.x/servicemix-osgi/RESULTS-local-execution.txt
> [5]
> https://github.com/muellerc/esbperformance/blob/master/servicemix-osgi/RESULTS-local-execution.txt
>
> Stacktrace:
> 17:39:21,664 | WARN  | tp1949086865-105 | PhaseInterceptorChain
> | 75 - org.apache.cxf.cxf-api - 2.6.3 | Interceptor for {
> http://services.samples/xsd}CBRProxy has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: stream is closed
>     at
> org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:59)[153:org.apache.camel.camel-cxf:2.10.3]
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:713)[98:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
>     at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[86:org.eclipse.jetty.security:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
>     at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.Server.handleAsync(Server.java:394)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:446)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:48)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[85:org.eclipse.jetty.io:7
> .5.4.v20111024]
>     at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[85:org.eclipse.jetty.io:7
> .5.4.v20111024]
>     at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[93:org.eclipse.jetty.util:7.5.4.v20111024]
>     at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[93:org.eclipse.jetty.util:7.5.4.v20111024]
>     at java.lang.Thread.run(Thread.java:680)[:1.6.0_37]
> Caused by: java.io.IOException: stream is closed
>     at
> sun.net.www.http.ChunkedInputStream.ensureOpen(ChunkedInputStream.java:151)[:1.6.0_37]
>     at
> sun.net.www.http.ChunkedInputStream.available(ChunkedInputStream.java:691)[:1.6.0_37]
>     at
> java.io.FilterInputStream.available(FilterInputStream.java:142)[:1.6.0_37]
>     at
> org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:126)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:103)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:56)[153:org.apache.camel.camel-cxf:2.10.3]
>     ... 34 more
> 17:39:21,666 | WARN  | tp1949086865-105 | PhaseInterceptorChain
> | 75 - org.apache.cxf.cxf-api - 2.6.3 | Interceptor for {
> http://services.samples/xsd}CBRProxy 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:288)[82:org.apache.cxf.cxf-rt-bindings-soap:2.6.3]
>     at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:270)[82:org.apache.cxf.cxf-rt-bindings-soap:2.6.3]
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:713)[98:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
>     at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)[105:org.apache.cxf.cxf-rt-transports-http:2.6.3]
>     at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
>     at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[86:org.eclipse.jetty.security:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[103:org.ops4j.pax.web.pax-web-jetty:1.0.11]
>     at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[87:org.eclipse.jetty.servlet:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.Server.handleAsync(Server.java:394)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:446)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:48)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[85:org.eclipse.jetty.io:7
> .5.4.v20111024]
>     at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[85:org.eclipse.jetty.io:7
> .5.4.v20111024]
>     at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[93:org.eclipse.jetty.util:7.5.4.v20111024]
>     at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[93:org.eclipse.jetty.util:7.5.4.v20111024]
>     at java.lang.Thread.run(Thread.java:680)[:1.6.0_37]
> Caused by: com.ctc.wstx.exc.WstxIOException: Closed
>     at
> com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1406)[66:woodstox-core-asl:4.1.4]
>     at
> com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:536)[66:woodstox-core-asl:4.1.4]
>     at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:282)[82:org.apache.cxf.cxf-rt-bindings-soap:2.6.3]
>     ... 37 more
> Caused by: java.io.IOException: Closed
>     at
> org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:152)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101)[89:org.eclipse.jetty.server:7.5.4.v20111024]
>     at
> org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[75:org.apache.cxf.cxf-api:2.6.3]
>     at
> com.ctc.wstx.sw.EncodingXmlWriter.flushBuffer(EncodingXmlWriter.java:697)[66:woodstox-core-asl:4.1.4]
>     at
> com.ctc.wstx.sw.EncodingXmlWriter.flush(EncodingXmlWriter.java:171)[66:woodstox-core-asl:4.1.4]
>     at
> com.ctc.wstx.sw.EncodingXmlWriter.close(EncodingXmlWriter.java:150)[66:woodstox-core-asl:4.1.4]
>     at
> com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1404)[66:woodstox-core-asl:4.1.4]
>     ... 39 more
>
> Best,
> Christian
>
> --
>
>


--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message