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.
This move requires the following steps:
- Install a web applications server on the new host machine (optional)
- Install the FME Flow Web Services on the new host
- Update Services URLs
- 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:
- Open the fmeServerConfig.txt configuration file.
- Open the FME Flow Web User Interface.
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
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