Article - CS123675

"java.lang.IllegalStateException: Already using output stream" is thrown from a custom JSP page in Windchill

Modified: 22-Jan-2017   


Applies To

  • Windchill PDMLink 9.1 to 11.0

Description

  • java.lang.IllegalStateException: Already using output stream is thrown from a custom JSP page which is streaming binary data, such as files, back via the response's output stream
java.lang.IllegalStateException: Already using output stream
   at wt.servlet.CompressionFilter$GzippingResponse.getWriter(CompressionFilter.java:789)
   at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
   at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
   at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:188)
This is a printer-friendly version of Article 123675 and may be out of date. For the latest version click CS123675