Almost got it loadbalancing almost wokring.... need minor help
finishing off. Things have chang since I havn't did this in about
3 years. I keep getting error messages in my "mod_jk.log" file below
every time apache initializes. The connector seems to acting strange!!

Can someone please look over my work here and point out the errors????
I've been looking at it too long.

Thank you for your time.


httpd.conf:
______________________________________________________________
#
# Load mod_jk
# This was added by Dwayne A. Ghant (6.11.07)
# This add loadbalancing capabilities to tomcat server

LoadModule jk_module modules/mod_jk.so

#
# Configure mod_jk
#
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel inf






workers.properties:
______________________________________________________________
#
# workers.properties
#

# In Unix, we use forward slashes:
ps=/

# list the workers by name

worker.list=tomcat5_0_28A, tomcat5_0_28B, loadbalancer

# ------------------------
# First tomcat server
# ------------------------
worker.tomcat5_0_28A.port=11009
worker.tomcat5_0_28A.host=localhost
worker.tomcat5_0_28A.type=ajp13

# Specify the size of the open connection cache.
#worker.tomcat1.cachesize

#
# 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.tomcat5_0_28A.lbfactor=100


# ------------------------
# Second tomcat server
# ------------------------
worker.tomcat5_0_28B.port=12009
worker.tomcat5_0_28B.host=localhost
worker.tomcat5_0_28B.type=ajp13

# Specify the size of the open connection cache.
#worker.tomcat2.cachesize

#
# 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.tomcat5_0_28B.lbfactor=100


# ------------------------
# Load Balancer worker
# ------------------------

#
# The loadbalancer (type lb) worker performs weighted 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
#        worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat5_0_28A, tomcat5_0_28B

#
# END workers.properties
#

______________________________________________________________






mod_jk.log:
______________________________________________________________
[Tue Jun 12 14:21:50 2007] [5225:30880] [info] init_jk::mod_jk.c (2743): mod_jk/1.2.23 initialized [Tue Jun 12 14:21:51 2007] [5226:30880] [warn] jk_map_read_property::jk_map.c (432): The attribute 'worker.loadbalancer.balanced_workers' is deprecated - please check the documentation for the correct replacement. [Tue Jun 12 14:21:51 2007] [5226:30880] [info] init_jk::mod_jk.c (2743): mod_jk/1.2.23 initialized
______________________________________________________________

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.3467
[EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to