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 14:23:45 GMT
I have not used SolrJ, but it probably is worth considering as a possible suspect.

Also, do you have anything in between the client and the Solr server (a firewall, load balancer,
etc.?) that might play games with HTTP connections?

You might want to start up a network trace on the server or network to see if you can catch
one to see what is going on.

I looked at our Solr 3.1 prototype log (which has been running continuously without interruption
since July 10!), and did not see any of these errors.  We do not use SolrJ -- we use a combination
of plain old HTTP/javascript/xslt and requests coming from another system as a (plain old
XML) web service to get to Solr.

However, that is under Jetty 6.


-----Original Message-----
From: Michael Szalay [] 
Sent: Wednesday, September 14, 2011 8:27 AM
Subject: Re: EofException with Solr in Jetty

We are using SolrJ 3.1 as our http client...
So it may be a bug in there?

Regards Michael

Michael Szalay
Senior Software Engineer

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

----- Urspr√ľngliche Mail -----
Von: "Jay Jaeger - DOT" <>
An:, "JETTY user mailing list" <>
Gesendet: Mittwoch, 14. September 2011 15:21:19
Betreff: RE: EofException with Solr in Jetty

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