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

Solutions on the web

via struts-user by Martin Gainty, 1 year ago
sun.nio.ch.IOUtil.write(IOUtil.java:75) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302) at java.nio.channels.Channels.write(Channels.java:60) at java.nio.channels.Channels.access$000(Channels.java:47) at java.nio.channels.Channels$1.write(Channels.java:134) at org.apache.coyote.http11.InternalOutputBuffer.commit(InternalOutputBuffer.java:602)
java.io.IOException: An existing connection was forcibly closed by the 
remote host at sun.nio.ch.SocketDispatcher.write0(Native Method) at 
sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33) at 
sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104) at 
sun.nio.ch.IOUtil.write(IOUtil.java:75) at 
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302) at 
java.nio.channels.Channels.write(Channels.java:60) at 
java.nio.channels.Channels.access$000(Channels.java:47) at 
java.nio.channels.Channels$1.write(Channels.java:134) at 
org.apache.coyote.http11.InternalOutputBuffer.commit(InternalOutputBuffer.java:602) 	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.action(ProcessorTask.java:749)	at org.apache.coyote.Response.action(Response.java:186)	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)	at org.apache.coyote.Response.doWrite(Response.java:548)	at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:404)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:294)	at org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:241)	at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)	at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)	at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)	at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:190)	at org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:133)	at org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:606)	at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:261)	at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:511)	at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:136)	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:137)	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:345)	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:356)	at org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:481)	at com.iplanet.jato.taglib.TagBase.writeOutput(TagBase.java:630)	at com.iplanet.jato.taglib.AbstractVisualTag.doEndTag(AbstractVisualTag.java:160)	at org.apache.jsp.jsp.Error_jsp._jspx_meth_jato_text_8(Error_jsp.java:310)	at org.apache.jsp.jsp.Error_jsp._jspx_meth_jato_form_0(Error_jsp.java:155)	at org.apache.jsp.jsp.Error_jsp._jspService(Error_jsp.java:87)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:57)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)	at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)	at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)	at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)	at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)	at com.sun.enterprise.tools.guiframework.event.handlers.NextPageHandler.forwardTo(NextPageHandler.java:39)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)	at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:426)	at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:283)	at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:191)	at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:184)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)	at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)