lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaeger, Jay - DOT" <>
Subject RE: EofException with Solr in Jetty
Date Wed, 14 Sep 2011 13:21:19 GMT
Looking at the source for Jetty, line 149 in Jetty's HttpOutput java file looks like this:

            if (_closed)
                throw new IOException("Closed");  <<<<<

-- which may or may not match exactly, but I doubt that this code changes all that often.]

I would read this as Jetty thinking that this HTTP connection is closed.

It this perhaps a case of your HTTP client disconnecting (or crashing) before Jetty can get
the entire message (HTTP response) sent?

(The other alternative that occurs to me would be that Solr told Jetty the response was all
done, but then turned around and tried to send more in the response).

-----Original Message-----
From: Michael Szalay [] 
Sent: Wednesday, September 14, 2011 1:47 AM
To:; JETTY user mailing list
Subject: EofException with Solr in Jetty

Hi all

sometimes we have this error in our system. We are running Solr 3.1.0 running on Jetty 7.2.2

Anyone an idea how to tune this?

14:41:05,693 | ERROR | qtp283504850-36 | SolrDispatchFilter | apache.solr.common.SolrException
151 | 154 - mvn_ch.basis06.eld.indexer_ch.basis06.eld.indexer.solrserver_0.1-SNAPSHOT_war
- 0 |
at org.eclipse.jetty.server.HttpOutput.write(
at org.eclipse.jetty.server.HttpOutput.write(
at org.apache.solr.common.util.FastOutputStream.flushBuffer(
at org.apache.solr.common.util.JavaBinCodec.marshal(
at org.apache.solr.response.BinaryResponseWriter.write(
at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
at org.eclipse.jetty.servlet.ServletHandler.doHandle(
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
at org.eclipse.jetty.server.session.SessionHandler.doHandle(
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(
at org.eclipse.jetty.servlet.ServletHandler.doScope(
at org.eclipse.jetty.server.session.SessionHandler.doScope(
at org.eclipse.jetty.server.handler.ContextHandler.doScope(
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
at org.eclipse.jetty.server.Server.handle(
at org.eclipse.jetty.server.HttpConnection.handleRequest(
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(
at org.eclipse.jetty.http.HttpParser.parseNext(
at org.eclipse.jetty.http.HttpParser.parseAvailable(
at org.eclipse.jetty.server.HttpConnection.handle(
at org.eclipse.jetty.util.thread.QueuedThreadPool$

Michael Szalay
Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 - source of smart business 

View raw message