
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. If the optional elements were set, they might look like this:įor more advanced configurations, see the Apache Tomcat mod_jk documentation.Ĭopyright © Rogue Wave Software, Inc. (If this property is not explicitly set, the server opens one connection.) Typically, this number should be equal to the number of acceptor threads specified for the connector associated with the port.įor example, the configuration lines below set an ajp13 worker named container1 to connect to port 8009 on the local machine: Number of socket connections the Web server opens to the Agent. The default port for the AJP13 connector is 8009.Īn ajp13 worker may be configured with the properties in Table 7: Table 7: Optional properties for an ajp13 worker Property Each ajp13 worker has two required properties and two optional properties.Īn ajp13 worker must be configured with the properties in Table 6: Table 6: Required properties for an ajp13 worker Property For example, the line below declares the worker with the name container1 to be of type ajp13:Īn ajp13 worker represents an AJP13 connection to the Agent. To set the type of a worker, use the syntax worker. Section 3.4.2.2 describes ajp13 workers.Īn lb worker load balances requests to other workers. This is the recommended protocol for communicating with the Agent. HydraExpress supports the following worker types:Īn ajp13 worker communicates with the Agent over the AJP13 protocol. For example, the line below sets the port number for a worker named container1 to port 8007: For example, a load-balancing worker is a connector that balances requests among a number of other workers.Įach configuration line has the format property=value. 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. A worker represents the concept of a connection to a server. The worker.properties file configures workers. 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. These libraries are provided as-is and are based on the versions of the Apache Web server certified against the product. Each platform-specific subdirectory contains a readme file with version and compatibility information. You can find these binaries in \3rdparty\jk-1.2. Again, see the Apache documentation for this information, or refer to the Rogue Wave Knowledge Base for a relevant article.įor convenience, HydraExpress ships with certified binaries of the mod_jk library for some platforms.
#Apache tomcat vs apache web server how to
Also, this section alludes to but does not describe how to set up load balancing in an Apache server. For complete information, see the Apache documentation. This section provides some information about the settings in the worker.properties file. This module reads the Apache worker.properties file to configure the connections that the Web server makes to the Agent.
#Apache tomcat vs apache web server software
The Agent uses mod_jk, provided by the Apache Software Foundation, to communicate with an Apache Web server. You may customize this configuration to complement your Apache Web server configuration. Timeout used when returning a request to the client, specified in milliseconds. Size of the buffer used to receive incoming messages.

The number of pending connection requests allowed before the system starts refusing connections. The host property defines servers from which messages will be accepted in this case, localhost only. The maximum number of threads to be created in the thread pool, in this case 20. The minimum number of threads to be created in the thread pool.


Specifies the number of threads that should be spawned listening for new connections. Here is a relevant excerpt from that file: This connector is configured in rwagent.xml located in your installdir \conf directory, with a default port of 8009. HydraExpress ships with a connector that accepts requests from an Apache Web server. 3.4.1 Configuring the HydraExpress AJP 1.3 Connector See the Apache Web server documentation for other advanced options such as using Apache to proxy HTTP requests. This section describes using Apache with the AJP13 protocol. You may use any Web server for this, but HydraExpress has some built-in support for using the Apache Web server in conjunction with the Apache Tomcat file mod_jk. You may wish to use an external Web server with HydraExpress. 4 Configuring Apache as an External Web Server Rogue Wave web site: Home Page | Main Documentation.
