Hi,

I have been having trouble trying to get load balancing working for Apache 2
and Tomcat (JBoss3.0.3 + Tomcat 4.1.12) using mod_jk2.  I have managed to
connect them using a 1-1 configuration thanks to Robert Sowder's document,
however have been unable to load balance.

Here is my workers2.properties file:

[logger]
level=DEBUG

[config:]
file=c:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=c:/Apache2/logs/jk2.shm
size=1000000
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0

[lb:lb]
info=Default load balancer.
debug=0

[channel.socket:localhost:8109]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8109
lb_factor=100

[channel.socket:localhost:8209]
info=A second tomcat instance.
debug=0
tomcatId=localhost:8209
lb_factor=100

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[uri:/mywebapp/*.jsp]
info=Extension mapping

[uri:/mywebapp/*.do]
info=Extension mapping


However when I try to access http://localhost/mywebapp/index.jsp I get an
Internal Server Error returned from Apache.

When I go to http://localhost/jkstatus/ it shows both hosts running.

Most of the information I have seen either talk about mod_jk load balancing
and not mod_jk2 load balancing.

Any help or pointers to information woule be higly appreciated!

Kam



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to