Nuxeo Server

Configuring the JSF Number of Views

Updated: December 5, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

The JSF/Seam stack used in the Nuxeo Platform uses server-side state saving: for each JSF component in the tree of graphical components, a state is saved server-side.

Each JSF component tree state is associated to a unique identifier, and the number of states is configurable using the JSF parameters com.sun.faces.numberOfViewsInSession and com.sun.faces.numberOfLogicalViews.

When the number of clicks exceeds this number of states, the page cannot be restored, and JSF may throw a ViewExpiredException.

Since version 5.7.1 (and 5.6.0-HF12), the default value in the Nuxeo Platform is set to 4 for both parameters (instead of 50 which was the previous default value) because it has an impact on performance.

Since version 5.7.2 (and 5.6.0-HF20), these values can be changed by adding (for example) the following line to the nuxeo.conf file:

nuxeo.jsf.numberOfViewsInSession=25
nuxeo.jsf.numberOfLogicalViews=25

Related JIRA issues:

  • NXP-9177: Reduce default number of view in JSF
  • NXP-11423: Allow configuring the number of JSF logical views
  • NXP-11677: Make JSF/Seam more resiliant to mulithreaded navigation
5 days ago Manon Lumeau add tags for doc days
a month ago manonlumeau Added content-review-lts2017 label
2 months ago manonlumeau NXDOC-1346-FT review screenshot
4 years ago Solen Guitter 7
4 years ago Solen Guitter 6 | Format
4 years ago Anahide Tchertchian 5 | fix links
4 years ago Anahide Tchertchian 4 | NXP-11423: add configuration for JSF number of views
4 years ago Anahide Tchertchian 3
4 years ago Anahide Tchertchian 2
4 years ago Anahide Tchertchian 1
History: Created by Anahide Tchertchian