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 theFME Flow Web Services, to another machine.

Warning  "> WarningWe recommend installing the web application server on a system that is synchronized to the same time zone as theFME Flow核心。不同的时区可能导致我mproper timing ofFME Flow Scheduletriggers.

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 theFME FlowWeb 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 theFME FlowWeb Services.FME Flowsupports Apache Tomcat version9.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.warfiles. (This directory is sometimes calledwebapps.)

Install theFME FlowWeb Services on the new host

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

Update Services URLs

On the machine hosting theFME Flow Core:

  1. Open thefmeServerConfig.txtconfiguration 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 theFME Flow Web User Interface.
    1. Loginand navigate toServices.
    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 configureCross-Origin Resource Sharing(CORS) filters, so that your application can bypass manual authentication when accessing theFME FlowWeb Services on another domain.

See Also