[
https://jira.jboss.org/jira/browse/RF-8191?page=com.atlassian.jira.plugin...
]
Alexander Smirnov commented on RF-8191:
---------------------------------------
I have an idea what's happen in the Selenium test.
By default, JSF stores View state on the server in the LRU cache. By default, that cache
can keep up to 16 states for 16 views per session. Therefore, if you have more than 16
concurrent requests from the same client, they can displace some states from cache that
causes "ViewExpiredException".
That can be resolved in different ways by:
1) using client-side state saving.
2) increasing view cache size.
3) reducing number of concurrent requests in selenium test.
rf-demo (JSF2) - OrderingListTestCase - View could not be restored.
---------------------------------------------------------------------
Key: RF-8191
URL:
https://jira.jboss.org/jira/browse/RF-8191
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: functional-tests, JSF 2.0
Affects Versions: 3.3.3.BETA1
Environment: richfaces-demo-3.3.3.Beta1-jee5.war (with injected
richfaces-impl-jsf2-3.3.3.Beta1)
JBAS 5.1.0.GA with Mojarra 2.0.1
Firefox 3.5.5 / Linux
Reporter: Lukas Fryc
Assignee: Andrey Markhel
Fix For: 3.3.3.BETA1
OrderingListTestCase in
richfaces-demo functional test in JSF2:
http://hudson.qa.jboss.com/hudson/view/Richfaces-Release/job/richfaces-3....
builds #29 to #32.
In console output, you can see:
[INFO] [talledLocalContainer] 02:26:58,136 ERROR [[Faces Servlet]]
Servlet.service() for servlet Faces Servlet threw exception
[INFO] [talledLocalContainer]
javax.faces.application.ViewExpiredException:
viewId:/richfaces/orderingList.jsf - View /richfaces/orderingList.jsf
could not be restored.
Run the OrderingListTestCase over this configuration.
The selenium is browsing through pages so quickly that it violates this exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira