java.io.IOException: The stream has been closed

pjl-comp-filter | atabotix | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    filter doesn't seem to work with redirect

    pjl-comp-filter | 1 decade ago | atabotix
    java.io.IOException: The stream has been closed
  2. 0

    Can't stream a file from a NFS mount

    Oracle Community | 1 decade ago | 807581
    java.io.IOException: Cannot flush a closed output stream

    Root Cause Analysis

    1. java.io.IOException

      The stream has been closed

      at org.apache.catalina.connector.ResponseStream.flush()
    2. Glassfish Core
      ResponseStream.flush
      1. org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:191)
      1 frame
    3. PJL Compressing Filter
      StatsOutputStream.flush
      1. com.planetj.servlet.filter.compression.StatsOutputStream.flush(StatsOutputStream.java:45)
      1 frame
    4. Java RT
      FilterOutputStream.flush
      1. java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
      1 frame
    5. PJL Compressing Filter
      CompressingFilter.doFilter
      1. com.planetj.servlet.filter.compression.StatsOutputStream.flush(StatsOutputStream.java:45)
      2. com.planetj.servlet.filter.compression.ThresholdOutputStream.flush(ThresholdOutputStream.java:106)
      3. com.planetj.servlet.filter.compression.CompressingServletOutputStream.flush(CompressingServletOutputStream.java:71)
      4. com.planetj.servlet.filter.compression.CompressingHttpServletResponse.flushBuffer(CompressingHttpServletResponse.java:132)
      5. com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:212)
      6. com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:194)
      6 frames
    6. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
      4. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
      8. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
      11. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
      12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
      13. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      14. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
      15. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      16. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
      17. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      18. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:534)
      19. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      20. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      21. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
      22. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
      23. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      24. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      25. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
      25 frames
    7. org.apache.ajp
      Ajp13Processor.run
      1. org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:409)
      2. org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:528)
      2 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame