tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johann Uhrmann <johann.uhrm...@xpecto.com>
Subject Loadbalancing with mod_jk2
Date Wed, 17 Dec 2003 16:33:14 GMT
Hello,

what is the correct way to use JK2 for load balancing?

According to the docs, jk2 should support load balancing
and "graceful" shutdown of a worker. (Meaning that a particular
worker will not get any new sessions.)

This is a snippet my current configuration:

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

[channel.socket:localhost:8010]
port=8010
host=127.0.0.1

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[ajp13:localhost:8010]
channel=channel.socket:localhost:8010

[uri:/foobar/*]
worker=ajp13:localhost:8009



How can I tell jk2 that foobar is served by both tomcat instances?
How to tell that tomcat2 should not get new sessions for foobar?


Thank You very much,


Johann Uhrmann


-- 
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com


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


Mime
View raw message