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)

struts-user | Martin Gainty | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Problem with struts in Sun One 8.1 integrated with NetBeans 4.1

    struts-user | 1 decade ago | Martin Gainty
    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)

    Root Cause Analysis

    1. 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()
    2. Glassfish Core
      ProcessorTask.action
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.action(ProcessorTask.java:749)
      1 frame
    3. Grizzly HTTP
      Response.doWrite
      1. org.apache.coyote.Response.action(Response.java:186)
      2. org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
      3. org.apache.coyote.Response.doWrite(Response.java:548)
      3 frames
    4. org.apache.coyote
      OutputBuffer.realWriteBytes
      1. org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:404)
      1 frame
    5. Tomcat Util
      IntermediateOutputStream.write
      1. org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:294)
      2. org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:241)
      2 frames
    6. Java RT
      OutputStreamWriter.flush
      1. sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
      2. sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
      3. sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
      4. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
      5. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
      5 frames
    7. Tomcat Util
      C2BConverter.flushBuffer
      1. org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:190)
      2. org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:133)
      2 frames
    8. org.apache.coyote
      OutputBuffer.realWriteChars
      1. org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:606)
      1 frame
    9. Tomcat Util
      CharChunk.append
      1. org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:261)
      1 frame
    10. org.apache.coyote
      CoyoteWriter.write
      1. org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:511)
      2. org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:136)
      2 frames
    11. GWT dev
      JspWriterImpl.print
      1. org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:137)
      2. org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:345)
      3. org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:356)
      4. org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:481)
      4 frames
    12. com.iplanet.jato
      AbstractVisualTag.doEndTag
      1. com.iplanet.jato.taglib.TagBase.writeOutput(TagBase.java:630)
      2. com.iplanet.jato.taglib.AbstractVisualTag.doEndTag(AbstractVisualTag.java:160)
      2 frames
    13. org.apache.jsp
      Error_jsp._jspService
      1. org.apache.jsp.jsp.Error_jsp._jspx_meth_jato_text_8(Error_jsp.java:310)
      2. org.apache.jsp.jsp.Error_jsp._jspx_meth_jato_form_0(Error_jsp.java:155)
      3. org.apache.jsp.jsp.Error_jsp._jspService(Error_jsp.java:87)
      3 frames
    14. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    16. com.sun.enterprise
      HandlePrecompiledJsp.doPost
      1. com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:57)
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    19. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    20. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    21. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    22. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    23. Glassfish Core
      ApplicationDispatcher$PrivilegedForward.run
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      3. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
      4. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
      5. org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
      6. org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
      6 frames
    24. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    25. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
      1 frame
    26. com.iplanet.jato
      ViewBeanBase.forwardTo
      1. com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
      2. com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
      2 frames
    27. com.sun.enterprise
      NextPageHandler.forwardTo
      1. com.sun.enterprise.tools.guiframework.event.handlers.NextPageHandler.forwardTo(NextPageHandler.java:39)
      1 frame
    28. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    29. com.sun.enterprise
      BaseServlet.processRequest
      1. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
      2. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
      3. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
      4. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
      5. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
      6. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
      7. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
      8. com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:426)
      9. com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:283)
      10. com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:191)
      10 frames
    30. com.iplanet.jato
      ApplicationServletBase.doPost
      1. com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
      1 frame
    31. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      2 frames
    32. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    33. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    34. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    35. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    36. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    37. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
      3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
      10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      11 frames
    38. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:184)
      1 frame
    39. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
      4. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
      4 frames