Restarting the server for a Faces JSP file

Each time you make certain changes in a Web application that is created with Faces components and running in a test environment, the server or Enterprise Application restarts. The changes that the server wants to pick up are ones that affect the configuration file for the Web application.

Each Web application created with Faces components contains a configuration file named faces-config.xml. This configuration file stores the following kinds of information for the Web project:

If the settings in faces-config.xml are changed, the application of the server is automatically restarted so that the application can pick up the changes. This restart may occur frequently if many new pages, data sources, or navigation rules are being added. If the server is restarting too frequently, you may find it interferes with development tasks. To work around this, choose one of the following options:

After Faces JSP pages are built and after the navigation rules between them are defined, you can add Faces components and make layout changes without triggering a restart.

 

Related concepts

Faces components

 

Related tasks

Creating Faces applications - overview
Viewing page code for a Faces JSP file

Related reference
Faces components reference
Faces attributes reference