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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

________________________________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to