Why is "WEB8004: Error flushing the output stream" Seen in the Web Server Logs?

(Doc ID 1310174.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle iPlanet Web Server - Version 6.0 to 6.1 [Release 6.0 to 6.1]
Information in this document applies to any platform.
***Checked for relevance on 24-Jan-2014***


On Sun Java Web Server 6.1 SP9 and earlier, the message "WEB8004: Error flushing the output stream" is sometimes seen in the Web Server error logs.

This is shown below:

[01/Apr/2010:17:40:46] failure ( 9108): for host xxx.xxx.xxx.xxx trying to GET /someapp/someurl, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
java.io.IOException: WEB8004: Error flushing the output stream
at com.iplanet.ias.web.connector.nsapi.NSAPIConnector.flush(NSAPIConnector.java:743)
at com.iplanet.ias.web.connector.nsapi.NSAPIResponseStream.flush(NSAPIResponseStream.java:97)
at com.iplanet.ias.web.connector.nsapi.NSAPIResponse.flushBuffer(NSAPIResponse.java:131)
at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:219)
at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:284)
at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:227)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms