You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by masber masber <ma...@hotmail.com> on 2021/09/14 22:55:05 UTC

Early EOF error

Dear Apache CXF user community,

I have a java JAX-RS web server app in apache cxf and I can see the traces below in my logs. I would like to understand why this happens and how could I fix this situation so I can get rid of them. My problem is that I can't find the headers of the request hence I have no clue where to start.

These are the logs:

Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Sep 11, 2021 7:05:33 AM org.apache.cxf.phase.PhaseIntercepto
rChain doDefaultLogging
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: WARNING: Interceptor for {http://endpoints.click.burro/}Proc
essedProductResource has thrown exception, unwinding now
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: org.apache.cxf.interceptor.Fault: Early EOF
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.interceptor.LoggingInInterceptor.logInputS
tream(LoggingInInterceptor.java:230)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.interceptor.LoggingInInterceptor.logging(L
oggingInInterceptor.java:161)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.interceptor.LoggingInInterceptor.handleMes
sage(LoggingInInterceptor.java:82)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Ph
aseInterceptorChain.java:308)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.ChainInitiationObserver.onMessag
e(ChainInitiationObserver.java:121)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.http.AbstractHTTPDestination.inv
oke(AbstractHTTPDestination.java:267)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.transport.servlet.AbstractHTTPServlet.serv
ice(AbstractHTTPServlet.java:276)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHol
der.java:755)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.Server.handle(Server.java:500)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at java.base/java.lang.Thread.run(Thread.java:834)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Caused by: org.eclipse.jetty.io.EofException: Early EOF
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpInput$3.getError(HttpInput.java:1141)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:1129)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:321)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.helpers.IOUtils.copyAtLeast(IOUtils.java:224)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: at org.apache.cxf.interceptor.LoggingInInterceptor.logInputStream(LoggingInInterceptor.java:205)
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: ... 34 more
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Sep 11, 2021 7:05:33 AM org.apache.cxf.interceptor.LoggingOutInterceptor
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: INFO: Outbound Message
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: ---------------------------
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: ID: 1550
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Response-Code: 500
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Encoding: UTF-8
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Content-Type:
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Headers: {}
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: Payload: <ns1:XMLFault xmlns:ns1="http://cxf.apache.org/bindings/xformat"><ns1:faultstring xmlns:ns1="http://cxf.apache.org/bindings/xformat">org.eclipse.jetty.io.EofException: Early EOF</ns1:faultstring></ns1:XMLFault>
Sep 11 07:05:33 ip-192-168-10-204.ap-southeast-2.compute.internal java[22682]: --------------------------------------

any suggestion?

thank you