Cube Export to Excel for larger data fails

  • Kuldip Shah
    Kuldip Shah

    We have integrated Mondrian (Version: and JPivot for our client application and currently having problem in generating Excel report from current cube view. The problem occurs mainly when the cube is expanded for all dimensions and then clicked on Excel Icon (JPivot menu bar). The process takes too log to generate the Excel file and then in the middle, it fails.

    When I checked the application log (Weblogic Server), it reported following error.

    ERROR ( - trouble rendering table01 Broken pipe
            at Method)
            at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(
            at weblogic.servlet.internal.ChunkOutput.writeChunks(
            at weblogic.servlet.internal.ChunkOutput.flush(
            at weblogic.servlet.internal.ChunkOutput.checkForFlush(
            at weblogic.servlet.internal.ChunkOutput.write(
            at weblogic.servlet.internal.ChunkOutputWrapper.write(
            at weblogic.servlet.internal.ServletOutputStreamImpl.write(
            at weblogic.servlet.internal.WLOutputStreamWriter.writeBytes(
            at weblogic.servlet.internal.WLOutputStreamWriter.write(
            at weblogic.servlet.internal.WLOutputStreamWriter.write(
            at weblogic.servlet.internal.DelegateChunkWriter.print(
            at weblogic.servlet.internal.ChunkOutputWrapper.print(
            at weblogic.servlet.jsp.JspWriterImpl.write(
            at com.tonbeller.wcf.component.RendererTag.doEndTag(
            at jsp_servlet.__olap_jpivot_page._jsp__tag58(

    We also noticed that if we connect to application locally (In the same network where application web server resides), mostly it works. The problem occurs mainly for remote web user.

    I also wants to ask that when I click on Excel icon, is it transferring data over the network from server to client while writing to the excel file OR it generates Excel file on the server first and then asks user to either open or save the file?

    Please help us ASAP. Thanks in advance.


    • Julian Hyde
      Julian Hyde

      That 'broken pipe' error is expected behavior from a web server whenever the web client aborts its HTTP request. I presume that the client is timing out. I don't think there's a bug in jpivot - you need a faster network or perhaps a longer timeout.