To make a Servoy Application Server work properly with the Apache HTTP Server and Load balancing, the following modifications to the configuration of the Servoy Application Server are required:

AJP 1.3 connector

When you start the 2 Servoy Application Servers and the Apache HTTP server and you access the Apache HTTP server you will be automatically using one of the two Servoy Servers in a weighted round-robin load balancing with sticky sessions manner.

jnlpCodebaseOverride
Load-balancing of Smart Clients is done by serving the JNLP file from the different Servoy Application Servers when the Apache HTTP front-end is accessed. The Apache HTTP Server serves the JNLP file to the requesting client and using the JNLP, the requesting client will connect directly to the Servoy Application Server that supplied the JNLP.

This means that each Servoy Application Server needs to be accessible to connecting client. When clients do not have direct access to the Servoy Application Server, the external hostname/IP Address needs of the Servoy Application Server needs to be registered as jnlpCodebaseOverride value. For more information, see Network Settings#servoy.jnlpCodebaseOverride.