Hi Tanmay,

do you get this regularly ? Always on the same resource (or
script/servlet) ?

This looks like the client has terminated the connection before the
service could send the response. Could it be some long-running
processing on the server causing the client to time out and abort ?

Regards
Felix

Tanmay Barman schrieb:
> Hi All,
> In my Sling Application I'm having some sling error.
> 
> 17.06.2009 18:46:52.696 *ERROR* [btpool1-2]
> org.apache.sling.engine.impl.SlingMainServlet service: Uncaught Throwable
> org.mortbay.jetty.EofException
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:760)
>         at
> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:566)
>         at
> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:905)
>         at
> org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:642)
>         at
> org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:577)
>         at
> org.apache.sling.engine.impl.output.BufferedServletOutputStream.write(BufferedServletOutputStream.java:247)
>         at
> org.apache.sling.engine.impl.SlingHttpServletResponseImpl$LoggerResponseOutputStream.write(SlingHttpServletResponseImpl.java:483)
>         at
> org.apache.sling.servlets.get.helpers.StreamRendererServlet.doGet(StreamRendererServlet.java:117)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:262)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:338)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:370)
>         at
> org.apache.sling.servlets.get.DefaultGetServlet.doGet(DefaultGetServlet.java:113)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:262)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:338)
>         at
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:370)
>         at
> org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:462)
>         at
> org.apache.sling.engine.impl.SlingMainServlet.processRequest(SlingMainServlet.java:419)
>         at
> org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:48)
>         at
> org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:54)
>         at
> org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)
>         at
> org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:52)
>         at
> org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:273)
>         at
> org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:171)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:51)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:87)
>         at
> org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:63)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:324)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>         at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> Caused by: java.net.SocketException: Software caused connection abort:
> socket write error
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at java.net.SocketOutputStream.socketWrite(Unknown Source)
>         at java.net.SocketOutputStream.write(Unknown Source)
>         at org.mortbay.io.ByteArrayBuffer.writeTo(ByteArrayBuffer.java:169)
>         at org.mortbay.io.bio.StreamEndPoint.flush(StreamEndPoint.java:122)
>         at org.mortbay.io.bio.StreamEndPoint.flush(StreamEndPoint.java:154)
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:682)
>         ... 38 more
> 
>  I don't know exactly the reason behind this error log. Can anyone please
> give some light on this?
> 
> Regards,
> Tanmay
> 

Reply via email to