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?
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.
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
>
Thank you.