You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Georg Portwich <po...@blueskye.de> on 2013/11/13 09:43:57 UTC
Problems with ajax-requests after server restart
Hi,
After the restart of the server some ajax requests are not executed correctly. It seemed to be so, that in the send data some information is missing. The problem occurs only with the first click after the server start. The second and all later requests are working properly.
We are using
MyFaces 2.1.10
Tomahawk 20 1.1.14
Tomcat 7.0.4
Has anybody seen a behavior like this before or has anybody an idea?
Thanks
Georg
Re: Problems with ajax-requests after server restart
Posted by Karl Kildén <ka...@gmail.com>.
I think you got a ViewExpiredException. This component might do it:
http://showcase.omnifaces.org/taghandlers/enableRestorableView
Or you might want to use the
http://showcase.omnifaces.org/exceptionhandlers/FullAjaxExceptionHandle<http://showcase.omnifaces.org/exceptionhandlers/FullAjaxExceptionHandler>
r
cheers
On 13 November 2013 09:43, Georg Portwich <po...@blueskye.de> wrote:
> Hi,
>
> After the restart of the server some ajax requests are not executed
> correctly. It seemed to be so, that in the send data some information is
> missing. The problem occurs only with the first click after the server
> start. The second and all later requests are working properly.
>
> We are using
>
> MyFaces 2.1.10
> Tomahawk 20 1.1.14
> Tomcat 7.0.4
>
> Has anybody seen a behavior like this before or has anybody an idea?
>
> Thanks
>
> Georg
>
>
>
>