tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott, Sean" <Sean.Sc...@thomson.com>
Subject RE: Loadbalancing with mod_jk2
Date Wed, 17 Dec 2003 20:17:14 GMT
Try this.

-sean


[lb:cluster]
debug=0
disabled=0

[ajp13:localhost:8009]
group=cluster

[ajp13:localhost:8010]
group=cluster

[uri:/foobar/*]
group=cluster


> -----Original Message-----
> From: Johann Uhrmann [mailto:johann.uhrmann@xpecto.com]
> Sent: Wednesday, December 17, 2003 9:33 AM
> To: Tomcat Users List
> Subject: Loadbalancing with mod_jk2
> 
> 
> 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
> 

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.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