The JavaTM Web Services Tutorial
Home
TOC
PREV TOP NEXT

Undeploying Web Applications

If you want to decommission a deployed Web application, you use the Ant undeploy task:

<undeploy url="url" path="path"	
   username="username" password="password" />
 

or deploytool's Undeploy command. For example, to undeploy the Hello1 application using deploytool:

  1. Select the hello1 WAR.
  2. Select ToolsUndeploy.
  3. A dialog will appear. Select /hello1 from the Select Webapp to undeploy combo box and Click OK.
  4. Dismiss the Undeploy Console by clicking Close.

Note: Use undeploy with caution. If you accidently undeploy one of the web applications that comes installed with the Java WSDP, those applications will no longer be available until you restart Tomcat!

Home
TOC
PREV TOP NEXT