Hi Shawn, the exception indicates that the connection was lost. I'm sure you figured that out for yourself.
Questions: - is that specific server instance really running? That is, can you reach it via browser? - If yes: how is your connection pool configured and how do you initialize it? More specifically: from what I know, CommonsHttp is already multi threaded so in your initializing code should not be using multiple threads to access it. Not completely sure about that in combination with SolrJ, though. I just had that issue when using CommonsHttp directly in the wrong way. I am using SolrJ with CommonsHttp pool for a some time now, and it all works very reliably. I've encountered those Connection reset exceptions also but they were always caused by the server not being reachable. Chantal >From your pastebin: Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Connection reset at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:480) On Tue, 2011-12-20 at 01:11 +0100, Shawn Heisey wrote: > On 12/16/2011 12:44 AM, Shawn Heisey wrote: > > I am seeing exceptions from some code I have written using SolrJ.I > > have placed it into a pastebin: > > > > > > http://pastebin.com/XnB83Jay > > No reply in three days, does nobody have any ideas for me? > > Thanks, > Shawn >