To improve performance and free up resources, you may wish to move the web applications server, which runs the FME Server 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 Server Web Services on the new host
- Update services URLs
- Configure CORS filters (optional)
To run the FME Server 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 web application server for running the FME Server Web Services. Supported web applications servers include Apache Tomcat and Oracle WebLogic.
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.)
On the new web applications server host, follow the instructions under Install the FME Server Web Services, for either Windows or Linux.
On the machine hosting the FME Server core:
- Open the fmeServerConfig.txt file, located at <FMEServerDir>/Server.
- Log in to the FME Server Web User Interface (http://<host>/fmeserver).
- Click Services.
- Click on each service to open the Editing Service page.
- In the URL Pattern field, update the URL value to the new web applications server host, and click OK when done.
Locate the FME_SERVER_WEB_URL directive and update the URL value to the new web applications server host. For example:
For example, to update the Data Download Service:
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 Server Web Services on another domain.