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=C:\apache-tomcat-7.0.21\bin\logs\isapi_redirect.log
# Log level (debug, info, warn, error or trace)
log_level=info
# Full path to the workers.properties file
worker_file=C:\apache-tomcat-7.0.21\bin\native\workers.properties
# Full path to the uriworkermap.properties file
worker_mount_file=C:\apache-tomcat-7.0.21\bin\native\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"="C:\\apache-tomcat-7.0.21\\bin\\logs\\isapi.log"
"log_level"="debug"
"worker_file"="C:\\apache-tomcat-7.0.21\\bin\\native\\workers.properties"
"worker_mount_file"="C:\\apache-tomcat-7.0.21\\bin\\native\\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
This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the “Documentation”) is for your informational purposes only and is subject to change or withdrawal by CA at any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in part, without the prior written consent of CA. This Documentation is confidential and proprietary information of CA and may not be disclosed by you or used for any purpose other than as may be permitted in (i) a separate agreement between you and CA governing your use of the CA software to which the Documentation relates; or (ii) a separate confidentiality agreement between you and CA.
Notwithstanding the foregoing, if you are a licensed user of the software product(s) addressed in the Documentation, you may print or otherwise make available a reasonable number of copies of the Documentation for internal use by you and your employees in connection with that software, provided that all CA copyright notices and legends are affixed to each reproduced copy.
The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicable license for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility to certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED IN ADVANCE OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
The use of any software product referenced in the Documentation is governed by the applicable license agreement and such license agreement is not modified in any way by the terms of this notice.
The manufacturer of this Documentation is CA.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or their successors.
Copyright © 2013 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
|
Copyright © 2013 CA.
All rights reserved.
|
|