The JavaTM Web Services Tutorial
Home
TOC
Index
PREV TOP NEXT
Divider

Undeploying Web Applications

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

<undeploy url="url" path="mywebapp"
  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.

or

  1. Select the server from the Server list in the left pane.
  2. Select the hello1 application in the Deployed Applications pane.
  3. Click Undeploy.

Some of the example build files contain an Ant undeploy target that invokes the Ant undeploy task.

Divider
Home
TOC
Index
PREV TOP NEXT
Divider

This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.

All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.