Sun Java System Web Server 6.1 SP12 Administrator's Guide

Using the server.xml File

Once deployed, your web applications are enabled by default. To disable a deployed web application manually you would need to modify the server.xml file as follows:

<WEBAPP uri="/mywebapp" path="/webappdir" enabled = "false" >

If you inadvertently deploy or edit more than one web application with the same description, and one of them is disabled, the server will ignore enabled = “false” and continue with default setting of enabled = “true”.

For more information about the server.xml file, see the Sun Java System Web Server 6.1 SP12 Programmer’s Guide to Web Applications.

You can deploy and edit web applications in two ways: