Question

Solr 4 stopped immediately on trying to add document and commit. I'm working on a Solr 4 with Tomcat 8 on Windows 7, and the Solr has only one core that I use. On trying to commit the document from SolrNet, however the Solr and Tomcat both goes down. I noticed few documents commited, but didn't find any error in Solr log.

Note that this is a new Tomcat & Solr installation.

On application side using SolrNet on adding document, I get following error:

System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

Update I have tried with uninstalling Tomcat 8 and installed Tomcat 7 with Solr4 but the issue is still the same.

Any help is highly appreciated on what could be wrong? What to check? Where to find errors has caused this?

Also let me know if you need more details.

Thanks

Was it helpful?

Solution

Tomcat 8 does not have a stable release yet and Solr has not been tested with it. There may be some incompatibilities. Please try with Tomcat 7 to rule out issues with Tomcat 8.

Moreover, the last release of SolrNet was made about 2 years ago - I am not sure if it will work well with the latest release of Solr. I think you should use SolrJ if possible. Otherwise, just post the Solr docs as XML.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top