Deploy a web application (deploy)
- Last Updated: March 27, 2024
- 2 minute read
- OpenEdge
- Version 13.1
- Documentation
Purpose
Deploy an ABL web application (.war file) to a PAS for OpenEdge instance, online (when the server is running) or offline (when the server is not running). TCMAN copies the web application to the server’s web application directory.
Note: PAS for OpenEdge supports sequential deployement of
.war files on an instance. It does not support parallel
deployment of multiple .war files on an instance. Syntax
|
Parameters
- general_options
- Specify one or more of the general TCMAN options. Run
tcman.sh help deployto see which general options are appropriate. - -l
- Use this switch to deploy an ABL web application online without having to
restart the instance. The switch loads the context necessary for the
successful online deployment of a web application.Note: The Tomcat manager (oemanager.war) must already be deployed for the
-lswitch to work. In the PAS for OpenEdge development server, the Tomcat manager is by default deployed in the default instance,oepas1. For all new instances in both the development and the production servers, you have to deploy the Tomcat manager first before you can use this switch. Also note that the-lswitch can be used only in conjunction with the-uparameter. - -u user_id:password
- Specify a valid user name and password for HTTP Basic access
authentication. Note: This parameter is required if the server is online. It is not required if the server is offline.
- -a app _name
- Specify a name for the web application. If you do not use this option, the application name will be the same as the .war file name.
- war_file_path
- Specify the location of the web application .war file that you want to deploy.
- abl_app_name
- It is the name of the ABL application under which you want to deploy your ABL web application.
Example
Deploy and rename oeabl.war (a web application that implements OpenEdge adapters) to the acme1 instance of the core pashome server online:
|
Note: The $CATALINA_HOME/extras directory
(/psc/pashome/extras in the example above) also contains
number of instance management applications, including
host-manager.war, manager.war, and
oemanager.war.