Hi Mario,

thank you for your reply.

yes, I am using MyFaces 1.2.2 (and RF3.1.2)

I am absolutely sure, that it works with myfaces-orchestra-core-1.0.jar - I
need only to replace the .jar to see the difference! Nothing else changes!

Unfortuantly, we can not allow the user to stay online all the time. Each
opened session consumes memory (we have many statefull beans with session
life time).

Can you explain pls, why It works, if I use navigation with
<navigation-case> without <redirect /> and does not work wit <redirect />?

Is there any workaround to generally avoid this exception or to handle it
correctly?


Thanks in advance!

Best regards,
Alexey



Mario Ivankovits wrote:
> 
> Hi!
>> I am using MyFaces+RichFaces+Orchestra
>>
>> When I update from Orchestra 1.0 to 1.1, I am getting 
>>
>> javax.faces.application.ViewExpiredException:
>> /pages/dms/dms_overview.jsfThe
>> expected view was not returned for the view identifier:
>> /pages/dms/dms_overview.jsf
>>   
> I guess you are using MyFaces 1.2.x or JSF 1.2.x.
> 
> This is the "normal" problem you'll experience when the session times 
> out. I don't see how Orchestra 1.0 did help to solve that problem. 
> Probably you changed the JSF version lately? If I remember correctly 
> previous JSF versions just re-rendered the page.
> 
> Anyway, if possible use the a4j poller which helps keeping the session 
> alive as long as the user is on the page. This allows you to use a very 
> short session timeout, but keeping it alive as long as the user did not 
> close the browser or left your web application at all.
> 
> Something like this will do the trick:
> 
>     <a4j:region renderRegionOnly="true">
>         <h:form id="_pingForm">
>             <a4j:poll id="ajaxPoller"
>                       interval="10000"
>                       reRender="ajaxPollerResult,ajaxPollerCounter"
>                       action="#{ping.pollAction}"
>                       timeout="10000"/>
>         </h:form>
>     </a4j:region>
> 
> And gives another piece of real rich-client feeling :-)
> 
> 
> Ciao,
> Mario
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Orchestra--javax.faces.application.ViewExpiredException-after-session-timeout-tp18482162p18483755.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to