Nuxeo Server

How to Customize the Error Pages

There are three error pages in the Nuxeo Platform, each of them can be customized:

  • nuxeo_error.jsp: This is the default error page
  • nuxeo_error_security.jsp: It is displayed when a SecurityException is thrown
  • page_not_found.jsp: It is displayed for an error 404

When the server is deployed, all theses pages are located at server/default/deploy/nuxeo.ear/nuxeo.war/. In the source code, these pages are located at nuxeo-platform-webapp/src/main/resources/nuxeo.war/.

You have to override this nuxeo_error.jsp page in a custom project.

  1. Copy this page inside your custom project in the same relative location as it is in the original Nuxeo sources, that is in a comparable nuxeo.war directory.
  2. Update the parts of the pages you want to customize.
  3. The deployment-fragment.xml of your custom project should contain the following requirement to nicely deploy your customized version of the error pages.

    <require>org.nuxeo.ecm.webapp.ui</require>
    
    

 


2 months ago Manon Lumeau Fix 404 and backport #1173
3 years ago Solen Guitter 38 | Update how-to topics
3 years ago Solen Guitter 39
3 years ago Manon Lumeau 37
4 years ago Anahide Tchertchian 36
4 years ago Anahide Tchertchian 35
5 years ago Manon Lumeau 34
5 years ago Manon Lumeau 33
5 years ago Solen Guitter 32
5 years ago Gildas Lefevre 31
5 years ago Anahide Tchertchian 30
5 years ago Solen Guitter 29 | Link update
5 years ago Manon Lumeau 28
5 years ago Manon Lumeau 27
5 years ago Solen Guitter 26 | Formatting
5 years ago Solen Guitter 25
6 years ago Anahide Tchertchian 24
6 years ago Anahide Tchertchian 23 | add warning (outdated content)
7 years ago Solen Guitter 21
7 years ago Solen Guitter 22 | Migrated to Confluence 4.0
7 years ago Anahide Tchertchian 20
7 years ago Anahide Tchertchian 19
9 years ago Stéfane Fermigier 18
9 years ago Stéfane Fermigier 17
9 years ago Stéfane Fermigier 16
9 years ago Stéfane Fermigier 15
9 years ago Stéfane Fermigier 14
9 years ago Stéfane Fermigier 13
9 years ago Stéfane Fermigier 12
9 years ago Stéfane Fermigier 11
9 years ago Stéfane Fermigier 10
9 years ago Stéfane Fermigier 9
9 years ago Stéfane Fermigier 8
9 years ago Stéfane Fermigier 7
9 years ago Stéfane Fermigier 6
9 years ago Stéfane Fermigier 5
9 years ago Stéfane Fermigier 4
9 years ago Stéfane Fermigier 3
9 years ago Stéfane Fermigier 2
9 years ago Stéfane Fermigier 1
History: Created by Stéfane Fermigier

We'd love to hear your thoughts!

All fields required