tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Duffy <>
Subject CoyoteOutputStream OutputBuffer Problem
Date Tue, 26 May 2009 18:22:21 GMT

There may be a problem in org.apache.catalina.connector.CoyoteOutputStream at line 89

The OutputBuffer is null when trying to write to the response.

I have a servlet that is being used to write a png image for JFreeChart.

The servlet gets the output stream from the HttpServletResponse, writes, flushes, but does
not close the output stream.

This servlet is called four times within the same JSP (there are four charts on the page).

I get the following stack trace. But it seems that all four charts and the page render correctly
(although I cannot be 1005 sure because I am unable to check with all users).

Any suggestions?


        at org.apache.catalina.connector.CoyoteOutputStream.write(
        at com.lasser.charting.servlets.SynchronizedOutputStream.write(
        at com.lasser.charting.servlets.ChartViewer.doGet(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message