Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1462

Enabling/Disabling nodes with JK Status Manager does not work

    Details

    • Affects:
      Release Notes

      Description

      I found the regression with regards on JBPAPP-8919.
      The scenario worked with ER7.

      Want disable node worker1:
      curl -G -d "cmd=update&mime=prop&w=router&sw=worker1&vwa=1" 127.0.0.1:5080/jkmanager/
      curl -G -d "mime=prop" 127.0.0.1:5080/jkmanager/ | grep activation
      >> worker.worker1.activation=ACT
      >> worker.worker2.activation=ACT
      And both nodes actually serving.

      Want disable both nodes worker1,2:
      curl -G -d "cmd=edit&mime=prop&w=router&att=vwa&val0=1&val1=1" 127.0.0.1:5080/jkmanager/
      >> worker.worker1.activation=ACT
      >> worker.worker2.activation=ACT
      And both nodes actually serving.

      mod_jk.log after disabling seems OK.
      info level

      [Thu May 17 11:58:17 2012]status 127.0.0.1 0.000319
      [Thu May 17 12:02:58 2012][9557:1] [info] jk_status.c (3291): Status worker 'status' setting 'activation' for sub worker 'worker1' of lb worker 'router' to 'DIS'
      [Thu May 17 12:02:58 2012]status 127.0.0.1 0.001138
      

      debug

      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_uri_worker_map.c (1131): Attempting to map URI '/jkmanager/' from 4 maps
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_uri_worker_map.c (945): Attempting to map context URI '/jkmanager/*=status' source 'uriworkermap'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_uri_worker_map.c (958): Found a wildchar match '/jkmanager/*=status'
      [Thu May 17 12:08:02 2012][10175:1] [debug] mod_jk.c (2621): Into handler jakarta-servlet worker=status r->proxyreq=0
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_worker.c (115): found a worker status
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_worker.c (338): Maintaining worker router
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_worker.c (292): Found worker type 'status'
      [Thu May 17 12:08:02 2012][10175:1] [debug] mod_jk.c (1097): Service protocol=HTTP/1.1 method=GET ssl=false host=(null) addr=127.0.0.1 name=127.0.0.1 port=5080 auth=(null) user=(null) laddr=127.0.0.1 raddr=127.0.0.1 uri=/jkmanager/
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1275): Status worker 'status' adding request param 'cmd' with value 'update'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1275): Status worker 'status' adding request param 'mime' with value 'prop'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1275): Status worker 'status' adding request param 'w' with value 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1275): Status worker 'status' adding request param 'sw' with value 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1275): Status worker 'status' adding request param 'vwa' with value '1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'cmd' as 'update'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'mime' as 'prop'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 're' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'opt' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (4591): Status worker 'status' service allowed for user '(null)' [(null)] from 127.0.0.1 [(null)]
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'w' as 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'sw' as 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1315): Status worker 'status' checking worker 'router' sub worker 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1391): Status worker 'status' searching worker 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_worker.c (115): found a worker router
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1432): Status worker 'status' searching sub worker 'worker1' of worker 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'w' as 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'sw' as 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1315): Status worker 'status' updating worker 'router' sub worker 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1391): Status worker 'status' searching worker 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_worker.c (115): found a worker router
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (1432): Status worker 'status' searching sub worker 'worker1' of worker 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (4155): Status worker 'status' updating lb worker 'router' sub worker 'worker1'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (3275): Status worker 'status' committing changes for sub worker 'worker1' of lb worker 'router'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwa' as '1'
      [Thu May 17 12:08:02 2012][10175:1] [info] jk_status.c (3291): Status worker 'status' setting 'activation' for sub worker 'worker1' of lb worker 'router' to 'DIS'
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwf' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwn' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwr' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwc' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vwd' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vacpt' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vaprt' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vahst' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vapng' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vact' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vapt' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vart' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'var' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vari' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vacpi' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'varo' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_status.c (905): retrieved string arg 'vamps' as '(null)' (default)
      [Thu May 17 12:08:02 2012][10175:1] [debug] jk_lb_worker.c (358): syncing shm for lb 'router' from mem (1->0)
      [Thu May 17 12:08:02 2012][10175:1] [debug] mod_jk.c (552): written 22 out of 22
      [Thu May 17 12:08:02 2012][10175:1] [debug] mod_jk.c (552): written 38 out of 38
      [Thu May 17 12:08:02 2012][10175:1] [debug] mod_jk.c (2772): Service finished with status=200 for worker=status
      [Thu May 17 12:08:02 2012]status 127.0.0.1 0.001196
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mladen.turk Mladen Turk
                  Reporter:
                  jstefl Jan Štefl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: