5.2 Un-deploy an Application

Applications can be Un-deployed from the SpringSource Application Platform using either the hot-deploy directory on the filesystem, or by using the admin console.

Hot Un-deploy an Application

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

            cd $PLATFORM_HOME/pickup
            rm myapp.par
	      

When the application is un-deployed, 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.
	      

Manually Un-deploy an Application

When undeploying an application you can only un-deploy a whole application. You can not un-deploy the separate modules/bundles of an application. Each application that can be undeployed has a link to the right of the list of applications. The only application that cannot be un-deployed is the Admin Console itself. Once you click the undeploy link, the page will be reloaded with that application removed from the list.

If any problems have occurred, you can check the status message at the top of the page. This message will otherwise report that 'Application undeployed'.