Moving the Web Applications Server to Another Machine

To improve performance and free up resources, you may wish to move the web applications server, which runs the FME Flow Web Services, to another machine.

Warning  We recommend installing the web application server on a system that is synchronized to the same time zone as the FME Flow Core. Differing time zones may result in improper timing of FME Flow Schedule triggers.

This move requires the following steps:

  1. Install a web applications server on the new host machine (optional)
  2. Install the FME Flow Web Services on the new host
  3. Update Services URLs
  4. Configure CORS filters (optional)

Install a web applications server on the new host machine (optional)

To run the FME Flow Web Services, you can use the Apache Tomcat web application server that is automatically provided when you install the services. In this case, skip this step and proceed to the next step.

Alternatively, you can install and use your own Apache Tomcat web application server for running the FME Flow Web Services. FME Flow supports Apache Tomcat version 9.0.x.

You must know the port number on which your web application server receives incoming requests and the path to the directory where your web application server stores web application .war files. (This directory is sometimes called webapps.)

Install the FME Flow Web Services on the new host

On the new web applications server host, follow the instructions under Install the FME Flow Web Services, for either Windows or Linux.

Update Services URLs

On the machine hosting the FME Flow Core:

  1. Open the fmeServerConfig.txt configuration file.
  2. Locate the FME_SERVER_WEB_URL directive and update the URL value to the new web applications server host. For example:

    FME_SERVER_WEB_URL=http://MY_WEBAPP_HOST:80

  3. Open the FME Flow Web User Interface.
    1. Login and navigate to Services.
    2. Click on each service to open the Editing Service page.
    3. In the URL Pattern field, update the URL value to the new web applications server host, and click OK when done.
    4. For example, to update the Data Download Service:

      http://MY_WEBAPP_HOST/fmedatadownload

Configure CORS filters (optional)

If you are a web application developer, you may want to configure Cross-Origin Resource Sharing (CORS) filters, so that your application can bypass manual authentication when accessing the FME Flow Web Services on another domain.

See Also