2 Replies Latest reply on Jul 9, 2010 9:53 AM by Ed Larkin

    How does mod_cluster know its context(URI)

    Ed Larkin Newbie

      Hello All, I am having a problem with my setup, currently I am using a testing setup, 2 jboss 4.2 servers with mod_cluster web(I used the quick start guide) and so far this seems to work on jboss:


      [ModClusterService] Initializing mod_cluster 1.1.0.CR3
      11:12:20,047 INFO  [AdvertiseListenerImpl] Listening to proxy advertisements on
      11:12:20,283 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-
      11:12:20,284 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-
      11:12:20,284 INFO  [Catalina] Initialization processed in 626 ms
      11:12:20,285 INFO  [StandardService] Starting service jboss.web
      and a single apache setup:


      <IfModule ssl_module>

      SSLRandomSeed startup builtin

      SSLRandomSeed connect builtin



      # Adjust to you hostname and subnet.

      <IfModule manager_module>


        ManagerBalancerName mycluster


          <Directory />

           Order deny,allow

           Deny from all

           Allow from all



          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          #ServerAdvertise on http://@IP@:6666

          AdvertiseFrequency 5

          #AdvertiseSecurityKey secret

          #AdvertiseGroup @ADVIP@:23364


          <Location /mod_cluster_manager>

             SetHandler mod_cluster-manager

             Order deny,allow

             Deny from all

             Allow from all






      When I start my jboss servers up I see the above output on the log file then I see: - - [07/Jul/2010:11:06:08 -0400] "INFO / HTTP/1.0" 200 - - - [07/Jul/2010:11:08:30 -0400] "INFO / HTTP/1.0" 200 -

      in the access logs of apache


      I am trying to get to http://myserver:9192/test/ This works just fine if I setup a proxypass direct, but mod_cluster dont seem to know what context it needs


      Can anyone shed some light on this, or point me in a explicit direction that i can get the correct information.