I just accepted Mladen's recent change to JK/native/common, so I'm up to date 
on the bleeding edge.
However, I find this in the isapi log file.  
[Wed Dec 15 16:05:33 2004] [1588:580] [error] jk_isapi_plugin.c (938): could 
not get a worker for name ajp13

Can anyone explain why?
In version 1.2.6 of the JK connector I used to get info about each worker at 
startup.  This is missing from the log now.



My workers.properties file:



# +++++++++++++++++++++++++++ BEGIN CONFIGURATION ++++++++++++++++++++++++++
# 
# The following configuration file describes a JK installation
# which does round-robin, session-aware load balancing across all
# defined workers.  Having a single worker will balance the load on
# that worker.  This is the default, even if you don't spell it out,
# but it is spelled out here for clarity.  @TODO indicates a 
# configuration must be made here.  @OPTIONAL indicates an optional
# customization may be made.
#
# workers.properties -
#
#   Copyright 1999-2004 The Apache Software Foundation
# 
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
# 
#       http://www.apache.org/licenses/LICENSE-2.0
# 
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
#
#
# This file provides jk derived plugins with the needed information to
# connect to the different tomcat workers.  Note that the distributed
# version of this file requires modification before it is usable by a
# plugin.
#
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them in your own configuration!!!
#
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normaly all you will need to do is un-comment and modify the first three
# properties, i.e. workers.tomcat_home, workers.java_home and ps.
# Most of the configuration is derived from these.
#
# When you are done updating workers.tomcat_home, workers.java_home and ps
# you should have 3 workers configured:
#
# - An ajp12 worker that connects to localhost:8007
# - An ajp13 worker that connects to localhost:8009
# - A jni inprocess worker.
# - A load balancer worker
#
# However by default the plugins will only use the ajp12 worker. To have
# the plugins use other workers you should modify the worker.list property.
#
#

# OPTIONS ( very important for jni mode ) 

#
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=C:\jakarta-tomcat-5.0.28

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=C:\j2sdk1.4.2_04

#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\

#
#------ ADVANCED MODE ------------------------------------------------
#---------------------------------------------------------------------
#

#
#------ DEFAULT worket list ------------------------------------------
#---------------------------------------------------------------------
#
#
# The workers that your plugins should create and work with
# 
worker.list=loadbalancer

#
#------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
#---------------------------------------------------------------------
#

#
# Defining a worker named dkoesxp:8009 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.dkoesxp:8009.port=8009
worker.dkoesxp:8009.host=dkoesxp
worker.dkoesxp:8009.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.
worker.dkoesxp:8009.lbfactor=100

#
# Specify the size of the open connection cache.
#worker.dkoesxp:8009.cachesize

#
#------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
#---------------------------------------------------------------------
#

#
# The loadbalancer (type lb) workers perform wighted round-robin
# load balancing with sticky sessions.
# Note:
#  ----> If a worker dies, the load balancer will check its state
#        once in a while. Until then all work is redirected to peer
#        workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=dkoesxp:8009
worker.loadbalancer.sticky_session=1



<ContactInfo>
  <Name>Derrick Koes</Name>
  <Title>Senior Software Engineer</Title>
  <Company name="SkillSoft"
    url="http://www.skillsoft.com"/>
  <AIM>codeauthor2001</AIM>
  <Email>[EMAIL PROTECTED]</Email>
  <Phone>(603) 305-1753</Phone>
  <Fax/>
  <Quote attributedTo="Yoda">No, try not, do
    or do not, there is no try.</Quote>
</ContactInfo>

Reply via email to