W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2001

java.io.IOException: Broken pipe

From: Joe Hanink <Joe.Hanink@threedeep.com>
Date: Tue, 27 Nov 2001 17:46:12 -0500 (EST)
Message-ID: <31C4BA5D2094EC409997E43BC5D05A9E2BD01D@na-mail-sf01.na.corp.translucis.com>
To: <www-jigsaw@w3.org>
I'm using Bea Weblogic 6.1 with Netscape enterprise server as a front
end, both on Sun Solaris.  Can someone explain why this is happening and
a possible solution?

many thanks,
Joe Hanink



JSP code:

<%@ page import="java.net.*"%>

<%

String directory = (String)session.getValue("directory");
String target = request.getParameter("target");
String url = "/custom/echo/content/"+directory+"/"+target;
String php = (String)session.getValue("php");

try {

    if (target.equals("")) {
       out.println("** specify a target page **");
    } else {
 
getServletConfig().getServletContext().getRequestDispatcher(url).include
(request, response);
    }
} catch (Exception e) {
    out.println("** exception trapped ["+e.getMessage()+":
url="+php+url+"] **");
    e.printStackTrace();
}

%>


Stack trace:

java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
        at
weblogic.servlet.internal.ChunkUtils.writeChunkNoTransfer(ChunkUtils.
java:202)
        at
weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:167)
        at
weblogic.servlet.internal.ServletOutputStreamImpl.writeChunks(Servlet
OutputStreamImpl.java:183)
        at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutput
StreamImpl.java:150)
        at
weblogic.servlet.internal.ServletOutputStreamImpl.checkForFlush(Servl
etOutputStreamImpl.java:552)
        at
weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutput
StreamImpl.java:226)
        at
weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:139)
        at
jsp_servlet._custom._echo._content._echosite._legal_main_left._jspSer
vice(_legal_main_left.java:89)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:275)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:183)
        at
jsp_servlet._custom._echo._templates._insert_page._jspService(_insert
_page.java:105)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:275)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:183)
        at
weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:115
)
        at
com.translucis._custom._echo._legal._jspService(_legal.java:443)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1265)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Received on Wednesday, 28 November 2001 07:20:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT