Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95DC1119C5 for ; Wed, 16 Jul 2014 14:34:17 +0000 (UTC) Received: (qmail 94394 invoked by uid 500); 16 Jul 2014 14:34:17 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 94342 invoked by uid 500); 16 Jul 2014 14:34:17 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 94322 invoked by uid 99); 16 Jul 2014 14:34:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 14:34:16 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of smithh032772@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 14:34:11 +0000 Received: by mail-lb0-f181.google.com with SMTP id p9so705633lbv.26 for ; Wed, 16 Jul 2014 07:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RlJSRMdo4aQvzh956y8GhyZIbkkV9Un2wsdgaONVhOk=; b=K6VH13x8BnpnLesuk01nFidZlfqY9NOBeuEXSB+16sc0MNgl1/MHMdigL8OpDXPeEb RoTUkNwM8LXPfn6Fhct9OguiVa7MWWSBCX94YcNuyruwIifyxlrn4J7Lxth5CMZVvykt iM9OGvd0PHz4YH0+GRcwbSP+nPEBddtj4yoZrnTcPFEvesoo5oA2nZ26H8fL/fdynd/d 0ZfDR+T3fVKXzuXzXVYyqq1x4P+Fkn9HhXDX+nhN974vYYcL97/Wav98JLTLy3/1OSIG nRB4k1uZTR3ZksGgGs5U9RsRO5ivmq4kqKNJ/i8t3+oIOU5S2zxDKhhG6/igIrfLrJmQ /x2g== MIME-Version: 1.0 X-Received: by 10.112.146.202 with SMTP id te10mr8310313lbb.75.1405521229848; Wed, 16 Jul 2014 07:33:49 -0700 (PDT) Received: by 10.112.243.73 with HTTP; Wed, 16 Jul 2014 07:33:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Jul 2014 10:33:49 -0400 Message-ID: Subject: Re: Help with java.lang.IllegalStateException: Cannot change buffer size after data has been written From: "Howard W. Smith, Jr." To: MyFaces Discussion Content-Type: multipart/alternative; boundary=047d7b3a83e0a12a6904fe5069f4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a83e0a12a6904fe5069f4 Content-Type: text/plain; charset=UTF-8 On Wed, Jul 16, 2014 at 7:52 AM, Felipe Jaekel wrote: > Not sure if this is this a MyFaces issue, but as I don't remember having it > when my projects were running with with Mojarra, I'd like to see if you can > help me. > > I'm eventually seeing this exception in my Tomcat 7.0.47 log: > > java.lang.IllegalStateException: Cannot change buffer size after data > has been written > at > org.apache.catalina.connector.ResponseFacade.setBufferSize(ResponseFacade.java:254) > Felipe, I think I saw that error long time ago and I discussed with BalusC on/via OmniFaces google-code project's issue tracker. anyway, I think it was caused by the largest XHTML page in my app, which has hundreds of UI components (, etc...). Below, is what I saved in my web.xml per that discussion with BalusC. javax.faces.FACELETS_BUFFER_SIZE 65535 --047d7b3a83e0a12a6904fe5069f4--