skip to main content
TCMAN Reference : Manager actions : List deployed applications (list)
 

List deployed applications (list)

Purpose

Display all the web applications that are deployed on an instance.
Note: This command may be used whether the instance is online or offline. However, the output differs. When used offline, TCMAN simply shows a list of deployed application directories in the instance's web applications directory. When used online, it provides additional run-time details about the deployed web applications.
To use this action, the Tomcat manager (manager.war) must be deployed on the instance if the instance is online. You can deploy manager.war from $CATALINA_HOME/extras.

Syntax

tcman.sh list [general_options] [-u user_id:password]

Parameters

general_options
Specify one or more of the options that can be used with any TCMAN action. Run tcman.sh help list 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.)
Note: This option is required if the server is online. It is not required if the server is offline.

Example

Show the Web applications deployed to acme1 when the instance is online:
/psc/acme1/bin/tcman.sh list -u tomcat:tomcat
OK - Listed applications for virtual host localhost
/:running:0:ROOT
/manager:running:4:manager
/oemanager:running:0:oemanager
/oeadapters:running:0:oeabl
Show the Web applications deployed to acme1 when the instance is offline:
/psc/acme1/bin/tcman.sh list
OK - Listing directories for /psc/acme1/webapps
/manager:stopped:0:manager
/oeadapters:stopped:0:oeabl
/oemanager:stopped:0:oemanager
/:stopped:0:ROOT