[ 
https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489701#comment-13489701
 ] 

Jesse Collins edited comment on MYFACES-3636 at 11/2/12 7:57 PM:
-----------------------------------------------------------------

When using the patched ResourceHandlerImpl.java with a value for 
org.apache.myfaces.RESOURCE_BUFFER_SIZE of 32768, the message "WARNING: Cannot 
set header. Response already committed." is no longer in the logs for WebSphere 
7.

        <context-param>
                <param-name>org.apache.myfaces.RESOURCE_BUFFER_SIZE</param-name>
                <param-value>32768</param-value>
        </context-param>
                
      was (Author: jessecollins):
    Using the patched ResourceHandlerImpl.java with a value for 
org.apache.myfaces.RESOURCE_BUFFER_SIZE of 32768 suppresses the "WARNING: 
Cannot set header. Response already committed." for WebSphere 7.

        <context-param>
                <param-name>org.apache.myfaces.RESOURCE_BUFFER_SIZE</param-name>
                <param-value>32768</param-value>
        </context-param>
                  
> Add new Web Context Parameter to set Resource Buffer Size
> ---------------------------------------------------------
>
>                 Key: MYFACES-3636
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3636
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-314
>    Affects Versions: 2.0.15
>         Environment: WebSphere 7.0.0.17
> Windows XP Pro, SP3, Intel Core 2 Duo CPU 3.00GHz, 4GB RAM and
> IBM AIX 6.1.0.0
>            Reporter: Jesse Collins
>            Priority: Minor
>         Attachments: ResourceHandlerImpl.java
>
>
> Add new Web Context Parameter to set Resource Buffer Size to prevent the 
> "WARNING: Cannot set header. Response already committed." message for JSF 
> resources.  This message in the log is known to occur on WebSphere 7 but may 
> also occur on other application servers.
> For more information see MYFACES-3104.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to