By default, an application is automatically enabled with the value set to true in the server-id/config/server.xml file. You can disable the application by setting the value to false.
Example:
<WEBAPP uri="/catalog" path="/export/apps/catalog" enabled="false">
For more information, see the Sun Java System Web Server 6.1 SP7 Administrator’s Configuration File Reference.