dev@javaserverfaces.java.net

Re: Flash scope still broken? (Mojarra 2.3m04)

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Mon, 29 Feb 2016 19:42:25 +0100

Hi,

On Monday, February 29, 2016, Lenny Primak <lprimak_at_hope.nyc.ny.us> wrote:

> The funny thing is that I am not using flash at all.
> The only Flash-related call in the process here is a getFlashAttribute
> within
> preRenderComponent event.


That probably counts for "using The Flash" I'm afraid.

It's conceptually a bit weird though that by just reading and never writing
the code still wants to write out the flash cookie.

Kind regards,
Arjan






> I don’t see how this could affect things at all.
> This only happens for (unconfirmed) very large pages.
>
> > On Feb 29, 2016, at 11:08 AM, manfred riem <manfred.riem_at_oracle.com
> <javascript:;>> wrote:
> >
> > Hi Lenny,
> >
> > You are using the Flash too late in the process, aka during render.
> >
> > If you do not want this problem to show up please use the Flash during
> INVOKE_APPLICATION.
> >
> > Thanks!
> >
> > Kind regards,
> > Manfred Riem
> >
> > On 2/26/16, 11:41 PM, Lenny Primak wrote:
> >> I am using Mojarra 2.3m04, and Flash scope is still broken.
> >> I am getting this error:
> >>
> >> -----
> >> JSF1095: The response was already committed by the time we tried to set
> the outgoing cookie for the flash. Any values stored to the flash will not
> be available on the next request.
> >> ——
> >>
> >> The weird thing is that I am not even putting anything into flash
> scope, and there is no flash cookie in the browser.
> >>
> >> I put this snippet in web.xml:
> >> <context-param>
> >> <param-name>javax.faces.FACELETS_BUFFER_SIZE</param-name>
> >> <param-value>32768</param-value>
> >> </context-param>
> >>
> >> which solves this problem 99% of the time, but for some large pages,
> the issue persists.
> >>
> >> I have no way to reproduce this as this happens very, very rarely, and
> only in production
> >> (yes, I am using 2.3m04 in production and it works great!)
> >
>
>