Apache Tomcat Load Balancing with mod_proxy not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux