Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to setup a load balancer using Httpd, mod_cluster and Tomcat. My Httpd is running on the same server with IP where the tomcat is running. Here is my Httpd configuration-

Listen *:9999

<VirtualHost *:9999>

 ManagerBalancerName cluster

 <Directory />
  Order deny,allow
  Deny from none
  Allow from all

 ProxyPass / balancer://cluster/ stickysession=JSESSIONID|jsessionid nofailover=On
 ProxyPassReverse / balancer://cluster/

 KeepAliveTimeout 300
 MaxKeepAliveRequests 0
 ServerAdvertise On
 AdvertiseFrequency 5
 <Location /mod_cluster_paas>
  SetHandler mod_cluster-manager
  Order deny,allow
  Deny from none
  Allow from all


and Tomcat server.xml-

<Engine name="jboss.web" defaultHost="localhost" jvmRoute="node1">
    <Listener className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener" advertise="true" proxyList=""/>

    <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="6">

          <Manager className="org.apache.catalina.ha.session.BackupManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true" mapSendOptions="6"/>

         <Channel className="">

         <Membership className="org.apache.catalina.tribes.membership.McastService" address="" port="45564" frequency="500" dropTime="3000"/>

          <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" address="auto" port="5000" selectorTimeout="100" maxThreads="6"/>

         <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">

         <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>


          <Interceptor className=""/>

          <Interceptor className=""/>

     <Interceptor className=""/>


     <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>


I was following this tutorial to setup a load balancer but its not working. After starting httpd and tomcat in httpd error log I am getting this error message-

[Wed Mar 13 18:23:51 2013] [error] proxy: CLUSTER: (balancer://cluster). All workers are in error state

When ever I try to open

share|improve this question
up vote 1 down vote accepted

There was a mistake in my configuration. Followed tutorial on mod_cluster page and added EnableMCPMReceive attribute.

mod_cluster reference link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.