geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuanyun <>
Subject One problem when using mod_proxy_balancer to build a cluster
Date Fri, 05 Oct 2007 12:51:54 GMT

   I am wanting to use apache_2.2.6's module-mod_proxy_balancer- to build a
cluster in front of Geronimo, I use tomcat-cluster sample from as the test application.
    But i find that although the first time i disable node1 via
http://localhost/balancer-manager, the subsequent requests would redirect to
node2, and all content of session remains, but later i enable node1, then
disable node2, the content of session is lost, and the session id is also
    I appended the following configuration in httpd.conf.
   	       LoadModule proxy_module modules/
		LoadModule proxy_http_module modules/
		LoadModule proxy_balancer_module modules/
		<Location /balancer-manager>
				SetHandler balancer-manager
		<Location "/servlet-examples-cluster">
				ProxyPass balancer://servlet-examples-cluster/
		Redirect /servlet-examples /servlet-examples/
		<Proxy balancer://servlet-examples-cluster stickysession=JSESSIONID>
loadfactor=50 route=server1
loadfactor=50 route=server2
   I also upload all the required files in order to replicate the problem.
   I have no idea what i forget to configure. Any help or suggestion is
welcome, Thanks in advance.

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message