Deploy mobileservice to another webserver

Posted by wardcouckecac on 15-May-2013 06:38

How can I publish my mobileservice to another server?

1) On another webserver, without installing a complete PDSOE. I should do something with the mobileservice.war file that was created? And how to install only Tomcat and OE webserver instead of the complete PDSOE?

2) Can my mobile service be published to IIS instead of Tomcat? So instead of using the OE Web Server, an IIS be used? And how to configure this?

All Replies

Posted by Anil Kumar on 15-May-2013 08:40

Hi W Co,

1) On another webserver, without installing a complete PDSOE. I should  do something with the mobileservice.war file that was created? And how  to install only Tomcat and OE webserver instead of the complete PDSOE?

Installating "Mobile REST Mgt Agent", OpenEdge provides/installs oerm.war file (under $DLC/servlets/rest). We can configure any external tomcat to act like OE Webserver by placing the oerm.war file in the tomcat directory. Thus one can deploy generated REST/Mobile service using RESTMan utility (proenv) to OE Webserver.

We have steps documented for using external Tomcat and you can find the steps in  'REST Management Agent' in the "OpenEdge Application Server" documentation. I am  also pasting the steps below.

Installing a REST Management Agent into a Java container


As part of the OpenEdge installation, REST Management Agent is installed in the OpenEdge installation directory, OpenEdge-install-dir\servlets\rest.

To start working with REST applications, you must configure your Web server to recognize the REST Management Agent. To configure your Web server:


Copy the REST Management Agent, oerm.war, from the directory, OpenEdge-install-dir\servlets\rest, to the Web server deployment directory. For instance, if you are using a Tomcat Web server, you copy oerm.war to the $CATALINA_HOME/webapps directory.


Note: If you are using Tomcat Web server you can also deploy oerm.war using the Tomcat manager. For more information, see the Tomcat manager documentation.    


If the Web server is already running, you must restart the Web server for the new configuration settings to take effect. You can query the REST Management Agent by browsing to the URL http://localhost:8980/oerm/index.html to check whether the REST Management Agent has been correctly installed and configured. For instance, if you are using the Tomcat server and you are using the default ports, you can browse the
URL http://localhost:8980/oerm/index.html.

2) Can my mobile service be published to IIS instead of Tomcat? So  instead of using the OE Web Server, an IIS be used? And how to configure  this?

For 11.2 user can only configure OE Webserver using Tomcat but not any other webservers.

Thanks and Regards,

Anil Kumar.

Posted by Peter Judge on 15-May-2013 08:46

How can I put my mobileservice to another server?

1) On another webserver, without installing a complete PDSOE. I should do

something with the mobileservice.war file that was created? And how to

install only Tomcat and OE webserver instead of the complete PDSOE?

You can deploy the mobileservice.war into any compatible version of Tomcat (see https://tomcat.apache.org/ for download and install instructions). You may need to perform this deployment manually, via File > Export > Mobile Web Application (see the help for more info about that) and then deploy to your (remote) Tomcat server.

2) Can my mobile service be published to IIS instead of Tomcat? So instead

of using the OE Web Server, an IIS be used? And how to configure this?

I do not think this is possible. The answer at http://stackoverflow.com/questions/9391826/deploy-war-file-in-microsoft-iis-7 indicates that you can use IIS as a proxy for Tomcat though.

-- peter

>

Posted by wardcouckecac on 16-May-2013 04:40

Thank you.

This thread is closed