Discussions

Web tier: servlets, JSP, Web frameworks: Urgent Broken Pipe ??

  1. Urgent Broken Pipe ?? (1 messages)

    Can anyone explain why this happens.
    I am using Weblogic AppServer for the EJBs

    Thanks in advance

    at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java(Compiled Code))
            at jsp_servlet.__version_summary._jspService(__version_summary.java(Compiled Code))
    20030130124414731 class com.telcordia.asmsain.gui.serviceplan.VersionSummaryScreen::redirectTo() exception:Broken pipe^M
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
       java.io.IOException: Broken pipe
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code))
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code))
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
            at com.telcordia.asmsain.gui.common.AinScreen.redirectTo(AinScreen.java:244)
            at com.telcordia.asmsain.gui.serviceplan.VersionSummaryScreen.retrieve(VersionSummaryScreen.java:260)
            at com.telcordia.asmsain.gui.serviceplan.VersionSummaryScreen.handleSubmitAction(VersionSummaryScreen.java:131)
            at com.telcordia.asmsain.gui.serviceplan.VersionServlet.performTask(VersionServlet.java:97)
            at com.telcordia.asmsain.gui.common.AinServlet.doGet(AinServlet.java:118)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
            at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
            at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
  2. The reason that you are getting that exception is that the communication between the client and the server is broken before the server could write the output back to the client.
    The reason could be that the user is trying to submit the data more than once even before the data is getting written to the client.
    If you think this is causing a problem, the try to disable the submit button as soon as the user clicks it once.
    Hope this helps,
    Uma