You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jakub 1983 <jj...@gmail.com> on 2013/04/28 21:04:35 UTC

mod_cluster

Hallo

mod_cluster-1.1.3.Final-windows-x86-ssl\httpd-2.2
this configuration discovers 2 tomcats 7 from localhost, but cannot
discover tomcat not from localhost, cannot discover tomcat 7 from some
other computer from lan, with the same config

what should be configured to discover all tomcats from lan ?
maybe there was some problem with multicast ?
maybe switch is filtering multicast ?
maybe I should somehow configure multicast address - but how ?
any idea ?


here is my configuration:

httpd conf:

# MOD_CLUSTER_ADDS
# Adjust to you hostname and subnet.
<IfModule manager_module>
#  Listen 127.0.0.1:1111
   Listen 10.1.1.3:1111
  ManagerBalancerName mycluster
#  <VirtualHost 127.0.0.1:1111>
<VirtualHost 10.1.1.3:1111>
    <Location />
     Order deny,allow
     Deny from all
#   Allow from 127.0.0.1
         Allow from 10.1.1.
    </Location>

    KeepAliveTimeout 300
    MaxKeepAliveRequests 0
    #ServerAdvertise on http://127.0.0.1:1111
    AdvertiseFrequency 5
    #AdvertiseSecurityKey secret
    #AdvertiseGroup 224.0.1.105:23364

    <Location /mod_cluster_manager>
       SetHandler mod_cluster-manager
       Order deny,allow
       Deny from all
       Allow from 10.1.1.
    </Location>

  </VirtualHost>
</IfModule>

tomcat conf
<Listener
className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener"
advertise="true"/>
additionally I have copied needed jars into tomcat lib

Regards
Jakub