Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: EAP 6.0.0
    • Fix Version/s: EAP No Release
    • Component/s: None
    • Environment:

      RHEL 5.3; i686; /usr/lib/libapr-1.so.0; /usr/lib/libapr-1.so.0.2.7;
      Apache/2.2.17 (Unix) DAV/2 mod_cluster/1.2.1.Final

    • Docs QE Status:
      NEW

      Description

      RHEL 5.3 x86, IPv6

      EAP6 - default

      <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
          <mod-cluster-config advertise-socket="modcluster" connector="ajp">
              <dynamic-load-provider>
                  <load-metric type="busyness"/>
              </dynamic-load-provider>
          </mod-cluster-config>
      </subsystem>
      +++
      <socket-binding name="modcluster" port="0" multicast-address="[ff01::1]" multicast-port="23364"/>
      

      Apache

      <IfModule manager_module>
      Listen [2620:52:0:105f::ffff:23]:8888
      <VirtualHost [2620:52:0:105f::ffff:23]:8888>
         ServerName soa3
         ServerAlias *.soa3
        <Directory />
          Order deny,allow
          Deny from all
          Allow from all
        </Directory>
        AdvertiseGroup [ff01::1]:23364
        ServerAdvertise on
        KeepAliveTimeout 60
        MaxKeepAliveRequests 0
        ManagerBalancerName mbabaceksCluster
        AdvertiseFrequency 5
        EnableMCPMReceive
        <Location /mcm>
           SetHandler mod_cluster-manager
           Order deny,allow
           Deny from all
           Allow from all
        </Location>
      </VirtualHost>
      </IfModule>
      

      Log

      With the aforementioned configuration, I start the balancer, then the worker node. Mod_cluster manager console looks OK, context is registered:

      <h1>mod_cluster/1.2.1.Final</h1><a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&refresh=10">Auto Refresh</a> <a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&Cmd=DUMP&Range=ALL">show DUMP output</a> <a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&Cmd=INFO&Range=ALL">show INFO output</a>
      <h1> Node node1 (ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018): </h1>
      <a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&Cmd=ENABLE-APP&Range=NODE&JVMRoute=node1">Enable Contexts</a> <a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&Cmd=DISABLE-APP&Range=NODE&JVMRoute=node1">Disable Contexts</a><br/>
      Balancer: mbabaceksCluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax: 1,Ttl: 60000000,Status: OK,Elected: 7,Read: 0,Transferred: 0,Connected: 0,Load: 100
      <h2> Virtual Host 1:</h2><h3>Contexts:</h3><pre>/SessionTest, Status: ENABLED Request: 0 <a href="/mcm?nonce=7bce83d1-f880-4b5a-a2e7-761f1450888f&Cmd=DISABLE-APP&Range=CONTEXT&JVMRoute=node1&Alias=default-host&Context=/SessionTest">Disable</a>
      

      , however, I keep getting HTTP 400 errors for either GET or HEAD on [2620:52:0:105f:0:0:ffff:23]:8888/SessionTest/hostname :

      [Wed Jun 06 11:29:31 2012] [debug] mod_proxy_ajp.c(579): proxy: got response from (null) (2620:52:0:105f:0:0:ffff:22%4)
      [Wed Jun 06 11:29:31 2012] [debug] proxy_util.c(2029): proxy: AJP: has released connection for (2620:52:0:105f:0:0:ffff:22%4)
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_cluster.c(1948): proxy: byrequests balancer DONE (ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018)
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy.c(1020): Running scheme balancer handler (attempt 0)
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_http.c(1955): proxy: HTTP: declining URL ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018/SessionTest/hostname
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_ajp.c(670): proxy: AJP: serving URL ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018/SessionTest/hostname
      [Wed Jun 06 11:29:32 2012] [debug] proxy_util.c(2011): proxy: AJP: has acquired connection for (2620:52:0:105f:0:0:ffff:22%4)
      [Wed Jun 06 11:29:32 2012] [debug] proxy_util.c(2067): proxy: connecting ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018/SessionTest/hostname to 2620:52:0:105f:0:0:ffff:22%4:8018
      [Wed Jun 06 11:29:32 2012] [debug] proxy_util.c(2193): proxy: connected /SessionTest/hostname to 2620:52:0:105f:0:0:ffff:22%4:8018
      [Wed Jun 06 11:29:32 2012] [debug] proxy_util.c(2444): proxy: AJP: fam 10 socket created to connect to 2620:52:0:105f:0:0:ffff:22%4
      [Wed Jun 06 11:29:32 2012] [debug] ajp_utils.c(31): Into ajp_handle_cping_cpong
      [Wed Jun 06 11:29:32 2012] [debug] ajp_utils.c(102): ajp_handle_cping_cpong: Done
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(224): Into ajp_marshal_into_msgb
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[0] [Host] = [2620:52:0:105f:0:0:ffff:23:8888]
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[1] [Accept-Encoding] = [identity]
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(450): ajp_marshal_into_msgb: Done
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_ajp.c(267): proxy: APR_BUCKET_IS_EOS
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_ajp.c(272): proxy: data to read (max 8186 at 4)
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_ajp.c(287): proxy: got 0 bytes of data
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(687): ajp_read_header: ajp_ilink_received 04
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(697): ajp_parse_type: got 04
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(516): ajp_unmarshal_response: status = 400
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(537): ajp_unmarshal_response: Number of headers is = 0
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(687): ajp_read_header: ajp_ilink_received 05
      [Wed Jun 06 11:29:32 2012] [debug] ajp_header.c(697): ajp_parse_type: got 05
      [Wed Jun 06 11:29:32 2012] [debug] mod_proxy_ajp.c(579): proxy: got response from (null) (2620:52:0:105f:0:0:ffff:22%4)
      [Wed Jun 06 11:29:32 2012] [debug] proxy_util.c(2029): proxy: AJP: has released connection for (2620:52:0:105f:0:0:ffff:22%4)
      [Wed Jun 06 11:29:33 2012] [debug] mod_proxy_cluster.c(1948): proxy: byrequests balancer DONE (ajp://[2620:52:0:105f:0:0:ffff:22%4]:8018)
      

      Investigation is going on. IPv4 reproducer is yet to be confirmed...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jfclere Jean-Frederic Clere
                Reporter:
                mbabacek Michal Karm
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: