This can be done from proenv and not from Developer Studio or OpenEdge Management. The deployment could be done on-line without restarting the PASOE instance. The following steps have to be followed:
1. A .war file with the Web Application to deploy is required to be ready (built from PDSOE or following steps in article 000178140). PASOE instance should not be running and if it requires to have access to database(s) it should be configured in the openedge.properties file (check article 000183589 to configure database connections - How to make a database connection with the Progress Application Server (PASOE) ).
There are 2 ways to deploy and enable the web application:
a) For deploying the .war add -l (lowercase L) and -u parameters to tcman. For example::
proenv> tcman deploy -l -u tomcat:tomcat -a DeployThisService deployThis.war
-u parameter is the tomcat manager user and password. In the example is using the default values tomcat:tomcat.
b) Set psc.as.autodeploy property to true in PASOE/conf/catalina.properties, the web application and service will be enabled after deploying without restarting.
psc.as.autodeploy=true
2. Start PASOE instance
3. Run tcman to deploy without the -l and -u parameter:
proenv> tcman deploy -a DeployThisService deployThis.war
4.
If PASOE is in Production mode, transports are not enabled by default for security. Otherwise continue with the next step. Use oeprop command to enable each Transport as shown below:
oeprop.[sh|bat] instance-name.ablwebapp-name.APSV.adapterEnabled = 0|1
oeprop.[sh|bat] instance-name.ablwebapp-name.REST.adapterEnabled = 0|1
oeprop.[sh|bat] instance-name.ablwebapp-name.SOAP.adapterEnabled = 0|1
oeprop.[sh|bat] instance-name.ablwebapp-name.WEB.adapterEnabled = 0|1
For example:
proenv> oeprop DeployPASOE.RestProject.REST.adapterEnabled=1
5. Disable and Enable Web application using tcman enable|disable:
For example:
proenv> tcman disable -u tomcat:tomcat RestProject
proenv> tcman enable -u tomcat:tomcat RestProject
Check the Web Application and all the transports in OpenEdge Explorer/Management, everything should be enabled and started if all transports were enabled (see above), the PASOE instance doesn't need to be restarted at this point.