You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jesse Collins (JIRA)" <de...@myfaces.apache.org> on 2012/11/02 20:39:12 UTC

[jira] [Created] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Jesse Collins created MYFACES-3636:
--------------------------------------

             Summary: 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


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

[jira] [Updated] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe updated MYFACES-3636:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.10
                   2.0.16
         Assignee: Leonardo Uribe
           Status: Resolved  (was: Patch Available)

Thanks to Jesse Collins for provide this patch.
                
> 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
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.0.16, 2.1.10
>
>         Attachments: MYFACES-3636-1.patch, 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

[jira] [Commented] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Jesse Collins (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489701#comment-13489701 ] 

Jesse Collins commented on MYFACES-3636:
----------------------------------------

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

[jira] [Commented] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Jesse Collins (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492486#comment-13492486 ] 

Jesse Collins commented on MYFACES-3636:
----------------------------------------

I should also note that javax.faces.FACELETS_BUFFER_SIZE is needed in conjunction with org.apache.myfaces.RESOURCE_BUFFER_SIZE.

	<context-param>
		<param-name>org.apache.myfaces.RESOURCE_BUFFER_SIZE</param-name>
		<param-value>32768</param-value>
	</context-param>
	<context-param>
		<param-name>javax.faces.FACELETS_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

[jira] [Comment Edited] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Jesse Collins (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489699#comment-13489699 ] 

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

Patch to ResourceHandlerImpl.java has been attached which allows resource buffer size to be specified with Web Context Parameter org.apache.myfaces.RESOURCE_BUFFER_SIZE and defaults to 2048.
                
      was (Author: jessecollins):
    Patch to ResourceHandlerImpl.java which allows resource buffer size to be specified with Web Context Parameter org.apache.myfaces.RESOURCE_BUFFER_SIZE and defaults to 2048.
                  
> 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

[jira] [Comment Edited] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Jesse Collins (JIRA)" <de...@myfaces.apache.org>.
    [ 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

[jira] [Updated] (MYFACES-3636) Add new Web Context Parameter to set Resource Buffer Size

Posted by "Mehmet Uluturk (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehmet Uluturk updated MYFACES-3636:
------------------------------------

    Status: Patch Available  (was: Open)
    
> 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