Apache tomcat server is stopped after several commit of documents in Solr 4.4

谁都会走 提交于 2019-12-23 02:49:26

问题


We have successfully installed Solr 4.4. We have done setup in windows 7. With the tomcat 8.0, Java jre 7 and Solr 4.4. We have done commit for some documents. But unfortunately after some commit of document our Apache tomcat server is stopped. And at time we get the following error in application.

System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at SolrNet.Impl.SolrConnection.CopyTo(Stream input, Stream output) at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable1 parameters) at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s) at SolrNet.Impl.SolrBasicServer1.SendAndParseHeader(ISolrCommand cmd) at ....


回答1:


it might be issue of network or invalid data.

I had an same issue. I was checked my network and there was some security issues.You should check your network settings.



来源:https://stackoverflow.com/questions/19138200/apache-tomcat-server-is-stopped-after-several-commit-of-documents-in-solr-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!