Child pages
  • Servoy Application Server Configuration for Load Balancing

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Open <servoy>/application_server/server/conf/server.xml and make the following adjustments:
    • Change line "<Engine name="Catalina" defaultHost="localhost">" into "<Engine jvmRoute="servoy1" name="Catalina" defaultHost="localhost">". The value of the jvmRoute atrribute needs to be different for each Servoy Application server and match with the list of workers registered with the Apache HTTP server (see Apache HTTP Server configurationConfiguration)
    • Add the following connector before the already declared one in both installations:
      Code Block
      <Connector port="8009"
         enableLookups="false" maxThreads="500" connectionTimeout="60000"
         redirectPort="8443" useBodyEncodingForURI="true" protocol="AJP/1.3"/>
      

...

This means that each Servoy Application Server needs to be accessible to connecting client. Because of this, the external hostname/IP Address and port of the Servoy Application Server need to be registered as jnlpCodebaseOverride value. For more information, see Network related settingsRelated Settings.

Code Block
servoy.jnlpCodebaseOverride=http://thisServersHostnameAsSeenByClients:port

...