tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45523] New: Setting outputBuffer in Connector has no effect
Date Fri, 01 Aug 2008 15:48:17 GMT

           Summary: Setting outputBuffer in Connector has no effect
           Product: Tomcat 6
           Version: 6.0.13
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors

Increasing outputBuffer has no effect when an exception occurs when large
amount of output has already been written.

I have a JSP-file which contains the following lines:

<jsp:include page="index2.html"></jsp:include>
<u:dao beanVar="var" foo="1"></u:dao>

u:dao tag throws an NPE, which is caught in a filter and then forwarded to an
error JSP-page. Despite this, the browser receives partial contents of
index2.html. If the line order is reversed, the browser correctly receives the
contents of the error JSP. The index2.html size 36Kb.

I've tried these two Connector definitions: 

    <Connector connectionTimeout="20000" port="8080" 
    redirectPort="8443" socketBuffer="81920" URIEncoding="UTF-8"/>

    <Connector connectionTimeout="20000" port="8080" 
    redirectPort="8443" URIEncoding="UTF-8" socketBuffer="1280000"/>

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message