tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Puglia <amolcpug...@yahoo.com>
Subject apache tomcat load balancing not working using mod_proxy
Date Mon, 13 Sep 2010 09:56:40 GMT
Hello Team,

I am trying to achieve load balancing with proxies modules.

Following are the configuration of proxy module.

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

<IfDefine SSL>
   Listen server_name:443

   <VirtualHost _default_:443>

      <Proxy balancer://tomcatservers>
         BalancerMember ajp://server_name:8009 route=tomcat4 retry=60
         BalancerMember ajp://server_name:8010 route=tomcat5 retry=60
      </Proxy>

      <Location /*>
         Allow From
 All
         ProxyPass balancer://tomcatservers/* stickysession=JSESSIONID nofailover=off
      </Location>


and tomcat server.xml contain following entry.

Tomcat5

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat5">

Tomcat4

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat5">


kindly assist me to acheive loadbalancing using proxies modules.


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message