Installation guide

CHAPTER 4 Installing and Configuring a Web Server Redirector Plug-In
Installation Guide 57
Set the EAServer HTTP listener properties
The HTTP listener properties that are related to the Web server redirector plug-
in are defined in the listener properties file for each EAServer HTTP listener
that receives Web server requests:
com.sybase.jaguar.listener.http.connector_events – this is a required
property and must be set to true so that the listener can properly process
requests from the Web server.
Note If you do not set the com.sybase.jaguar.listener.http.connector_events
property to true, some of the redirectors features, such as load balancing,
may not work correctly.
com.sybase.jaguar.listener.http.conn.keepalive – this is an optional property
that specifies the length of time, in seconds, to keep a connection alive
before it is closed by EAServer. The default value is 120 seconds (2
minutes); you can modify this value, if necessary, to improve
performance.
com.sybase.jaguar.listener.http.conn.maxrequests – this optional property
determines the number of requests processed before EAServer closes the
connection. The default value is 100; you can modify this value, if
necessary, to improve performance.
The listener properties files are located in the $JAGUAR/Repository/Listener
directory. The file name format is <server>_<listener>.props. For example,
the listener property file name for a listener named “http1” created for a server
named “Jaguar” is Jaguar_http1.props.
Use a text editor to add the following lines to each listener properties file that
accepts requests:
com.sybase.jaguar.listener.http.conn.keepalive=120
com.sybase.jaguar.listener.http.conn.maxrequests=100
com.sybase.jaguar.listener.http.connector_events=true
Host and port settings
You must make sure the EAServer host and port defined in your redirector
configuration file has an identical host name in the EAServer listener host and
port fields. For example, this redirector entry also requires an EAServer HTTP
protocol listener defined with the host name of jaghost1 and a port number of
8080: