skip to main content
TCMAN Reference : Manager actions : Undeploy a Web application (undeploy)
 

Undeploy a Web application (undeploy)

Purpose

Remove a Web application from running (online) or stopped (offline) instances. If the instance’s autodeploy option is off, you must stop and restart a running server to complete removal. Note that the autodeploy option is set in the .../conf/appserver.properties file and is off by default.

Syntax

tcman.sh undeploy [general_options] [-u user_id:password] app _name

Parameters

general_options
Specify one or more of the options that can be used with any TCMAN action. Run tcman.sh help undeploy to see which general options are appropriate.
-u user_id:password
Specify a valid user name and password for HTTP Basic access authentication. (The default is -u tomcat:tomcat.) This option is required if you are accessing an online instance.
app_name
Specify the name of the web application to remove.

Example

Remove the oemanager application from the acme1 instance:
/psc/acme1/bin/tcman.sh undeploy -u tomcat:tomcat oemanager
OK - Undeployed application at context path /oemanager