Configuring the Apache Web Server
The Agent uses mod_jk, provided by the Apache Software Foundation, to communicate with an Apache Web server. This module reads the Apache worker.properties file to configure the connections that the Web server makes to the Agent. This section provides some information about the settings in the worker.properties file. For complete information, see the Apache documentation. Also, this section alludes to but does not describe how to set up load balancing in an Apache server. Again, see the Apache documentation for this information, or refer to the Rogue Wave Knowledge Base for a relevant article.
NOTE: For convenience, HydraExpress ships with certified binaries of the mod_jk library for some platforms. You can find these binaries in <installdir>\3rdparty\jk-1.2. Each platform-specific subdirectory contains a readme file with version and compatibility information. These libraries are provided as-is and are based on the versions of the Apache Web server certified against the product. If you have a different version of Apache and need the compatible mod_jk library, you can obtain the source and some binary versions at http://tomcat.apache.org/download-connectors.cgi.
The worker.properties file configures workers. A worker represents the concept of a connection to a server. A worker often corresponds to an actual on-the-wire connection, but it may also be an intermediary between the Web server and other workers. For example, a load-balancing worker is a connector that balances requests among a number of other workers.
Each configuration line has the format property=value. For example, the line below sets the port number for a worker named container1 to port 8007:
worker.container1.port=8007