This section contains the following topics:
Sample workers.properties File
Sample isapi_redirect.properties File
Sample isapi_redirect.reg File
Sample uniworkers.properties File
Sample uriworkermap.properties File
The workers.properties file includes the following parameters:
worker.list
worker.<workername>.host
worker.<workername>.port
worker.<workername>.type
worker.<workername>.connection_pool_size
The descriptions of the parameters are as follows:
Lists all the workers that are defined. When you start the web server, the plug-in instantiates these workers.
Defines the IP address of the computer where Tomcat (WA-OP) is installed.
Defines the port that the AJP workers inside Tomcat listen to. By default, AJP13.Workers listen to port 8009.
Defines the type of worker. The type of the worker can be ajp13, ajp14, jni, lb, or status.
Defines the number of connections made to AJP back-end.
The following is a sample workers.properties file:
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
#
# The workers that jk should create and work with
#
worker.list=lb,jk-status
#
# Defining a worker named node1 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.node1.type=ajp13
worker.node1.host=localhost
worker.node1.port=8009
#
# Defining a load balancer
#
worker.lb.type=lb
worker.lb.balance_workers=node1
#
# Define status worker
#
worker.jk-status.type=status
The following is a sample isapi_redirect.properties file:
extension_uri=/jakarta/isapi_redirect.dll
# Full path to the log file for the ISAPI Redirector
log_file=<path to the native_iis folder>\native_IIS\logs\isapi_redirect.log
# Log level (debug, info, warn, error or trace)
log_level=info
# Full path to the workers.properties file
worker_file=<path to the native_iis folder>\native_IIS\workers.properties
# Full path to the uriworkermap.properties file
worker_mount_file=<path to the native_iis folder>\native_IIS\uriworkermap.properties
In this example, jakarta refers to the virtual directory you have added before you created the ISAPI filter.
The following is a sample isapi_redirect.reg file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="<path to the native_iis folder>\\native_IIS\\logs\\isapi.log"
"log_level"="debug"
"worker_file"="<path to the native_iis folder>\\native_IIS\\workers.properties"
"worker_mount_file"="<path to the native_iis folder>\\native_IIS\\uriworkermap.properties"
In this example, jakarta refers to the virtual directory you have added before you created the ISAPI filter.
The following is a sample uniworkers.properties file:
/MartServer/*=node1
The following is a sample uriworkermap.properties file:
# This file provides sample mappings for example wlb
# worker defined in workermap.properties.minimal
# The general syntax for this file is:
# [URL]=[Worker name]
/*=lb
#
# Mount jkstatus to /jkmanager
# For production servers you will need to
# secure the access to the /jkmanager url
#
/jk-manager=jk-status
Copyright © 2015 CA Technologies.
All rights reserved.
|
|