Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via GitHub by ritchieGitHub

    Set larger socket timeout (or 0 to set no timeout).

  2. ,
    via github.com by Unknown author

    Upgrade your nanohttpd

Solutions on the web

via Icesoft by rododendro, 1 year ago
Connection reset by peer: socket write error
via Icesoft by rododendro, 1 year ago
Connection reset by peer: socket write error
via Google Groups by rajnemani ., 10 months ago
Software caused connection abort: socket write error
via Stack Overflow by user3409732
, 2 years ago
via Oracle Community by 2773504, 2 years ago
java.net.SocketException: Connection reset by peer: socket write error	at java.net.SocketOutputStream.socketWrite0(Native Method)	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:764)	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:129)	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)	at org.apache.coyote.Response.doWrite(Response.java:560)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:325)	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)	at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263)	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116)	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:203)	at java.io.Writer.write(Writer.java:140)	at com.icesoft.faces.context.NormalModeSerializer.serialize(NormalModeSerializer.java:73)	at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:183)	at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:321)	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:152)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)	at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:27)	at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:147)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)	at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:33)	at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)	at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:699)	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)	at org.apache.jsp.index_jsp._jspService(index_jsp.java:59)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:619)