Updating the Context Root for Scenarios

Occasionally it may be necessary to change an application’s context root after you have already created and enabled scenarios for that application. You make the change by adjusting the context root setting in the application.xml file for the given application. However, the WebAppRegistry described in the previous section is not updated automatically, so the Scenarios module is not aware of any change you make to this file. To avoid scenario execution errors, therefore, note that you must either manually update the WebAppRegistry or manually update the context root value in the application’s web.xml file.

The following example shows the web.xml file setting for the Quincy Funds demo: