6.2 Undeploying an Artifact

Artifacts can be undeployed from the SpringSource dm Server using either the hot-deploy directory on the file system, or by using the admin console.

6.2.1 Hot Undeploy

To hot-undeploy an artifact, remove the corresponding artifact from the $SERVER_HOME/pickup directory:

cd $SERVER_HOME/pickup rm myapp.par

When the artifact is undeployed, a message similar to the following will appear in the log:

[2008-03-08 17:00:05.000] <SPDE0012I> - Undeployment of 'myapp.war' version '0' completed.

6.2.2 Manually Undeploy

When undeploying an artifact you can only undeploy a whole artifact. You cannot undeploy the separate modules/bundles of an application. Each artifact that can be undeployed has a link to the right of the list of artifacts. Once you click the undeploy link, the page will be reloaded with that artifact removed from the list.

The only artifact that cannot be undeployed from the Admin Console is the Admin Console itself. This can be undeployed manually from the hot deploy directory if needed.

If any problems have occurred the status message at the top of the page will report the error.