Installing A Web Service for KNIME Node Execution
Some KNIME nodes can be run through a web service. The instructions for setting up the web service and the necessary configuration are given below.
To set up the web server:
| 1. | Install the Apache Tomcat web server on the machine where the Schrödinger software is installed. If you already have the web server on this machine, stop the web server. |
| 2. | Copy the SchrodingerExecCommand.war file from your Schrödinger software installation into the webapps folder of your Apache Tomcat server location. This file is in the knime-vversion/webservices folder (directory) of your Schrödinger software installation. |
| 3. | On Linux, set the SCHRODINGER and SCHRODINGER_TMPDIR environment variables. |
| 4. | Start the Apache Tomcat server. |
There are two ways to set up the client. You can use Schrödinger Job Control to send the job to the server from your node, or you can use a generic web service client node. To set up the client using Job Control, you must add an entry to the hosts file, schrodinger.hosts, with the following settings:
|
|
server-alias |
|
|
server-host-name |
|
|
server-port |
|
|
maximum-server-cores |
See The Hosts File for more information on the hosts file and its entries.
Instructions for configuring the nodes are given in Setting up Node Execution via a Web Service.