Try OpenEdge Now
skip to main content
Administration Guide
TCMAN Reference : Manager actions : Reload a Web application (reload)
 

Reload a Web application (reload)

Purpose

Restart a deployed, running Web application so that the application can pick up changes to its classes or libraries.
To use this action, the Tomcat manager (manager.war) must be deployed on the instance and the instance must be running. You can deploy manager.war from $CATALINA_HOME/extras.
Note: The reload action does not reload the web application's web.xml file. To begin using changes to web.xml, you must stop and restart the web application.

Syntax

tcman.sh reload [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 reload 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 in online. It is not required if the server is offline.
app_name
Specify the name of the web application to restart.

Example

Reload the oemanager web application running on the acme1 instance:
/psc/acme1/bin tcman.sh reload -u tomcat:tomcat oemanager
OK - Reloaded application at context path /oemanager