You can run multiple VertiGIS Integrator instances on a server, however you must set up a different Tomcat for each one.
To achieve this, for each Tomcat instance, follow the steps provided in the Apache_Tomcat chapter, but modify the port settings.
Before proceeding to register Tomcat as a service, modify the port settings in the TOMCAT/conf/server.xml file:
•open the server.xml file in a text editor.
•assign an unique number to each port (each number must not be already in use on the server).
To check if a number is already assigned to a port on the server, use the netstat -ano | find "[PORT]" command.
Port description |
Code |
---|---|
Shutdown Port Not required and can be deactivated with the "-1" value for all the Tomcat instances. |
<Server port="-1" shutdown="SHUTDOWN"> |
HTTP-Port Only needs to be changed when the HTTP connector is active. The redirectPort value must be changed only if the HTTPS Port is also active. Then the value for redirectPort must match the value for the HTTPS Port. |
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> |
HTTPS-Port Only needs to be changed when the HTTPS connector is active. The HTTPS support configuration is described in the Set up HTTPS in Tomcat chapter. |
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true"> <SSLHostConfig> <Certificate certificateKeystoreFile="conf/localhost-rsa.jks" type="RSA" /> </SSLHostConfig> </Connector> |