TN0014: Updating the Deployment Descriptor for a Previously-Deployed Java EE Web Application Archive (WAR)
Last Updated: June 17, 2008Author: Richard Backhouse
Summary
There are times when it may be necessary to make modifications to the Jazz Team Server Java EE Web Application Archive (WAR) deployment descriptor (
web.xml
More Information
Apache Tomcat
Modifying the deployment descriptor on Tomcat is just a matter of locating the
web.xml
(Note: This example assumes Jazz Team Server is rooted at
C:jazzserver
- Modify the file found at
web.xml
C:jazzservertomcatwebappsjazzWEB-INFweb.xml
- Restart Tomcat for the modification to take effect
WebSphere Application Server (WAS)
- Access the WAS Admin Web UI and navigate to the “Enterprise Applications” page.
- Select the Jazz Team Server WAR application and click the “Update” button.
- A new page will appear with a number of options. Select the “Replace or add a single file” radio button.
- In the “Specify the path beginning with the installed application archive file to the file to be replaced or added” entry field enter
jazz.warWEB-INFweb.xml
- Use the “Local file system” Browse button to select your modified file
web.xml
- Click the “Next” button and then the “Ok” button on the following page.
- Select the “Save directly to the master configuration” link to complete the modification.
- Restart the Jazz Team Server application for the changes to take effect.
References
- TN0013: Jazz Team Server Authentication Explained – Provides background information on how Jazz Team Server is packaged as a WAR and information on various configuration options for the deployment descriptor.
web.xml
Discussion