3 Replies Latest reply on Jul 23, 2012 8:22 AM by Jean-Frederic Clere


    Bogdan Toma Newbie

      Hello all,


      I have set up modcluster subsystem inside JBoss7.0.2.

      According to this: https://docs.jboss.org/author/display/AS7/mod_cluster+in+AS7

      when running :read-operation-names in console i should have add-metric&remove-metric.

      I do not have them.

      What i get is this:

      [standalone@localhost:9999 subsystem=modcluster] :read-operation-names


          "outcome" => "success",

          "result" => [



























      Do i have to do something special for those operations?

      Are these operationes somewhere else?


      Thank you.

        • 1. Re: add-metric&remove-metric
          Jean-Frederic Clere Master

          Because they are in mod-cluster-config=configuration

          • 2. Re: add-metric&remove-metric
            Bogdan Toma Newbie

            Hello, thank you for reply.


            Still not working.

            I have done this:

            [standalone@localhost:9999 /] cd subsystem=modcluster

            [standalone@localhost:9999 subsystem=modcluster] cd mod-cluster-config=configuration

            [standalone@localhost:9999 mod-cluster-config=configuration] :add-metric(type=cpu)


                "outcome" => "failed",

                "failure-description" => "No handler for operation add-metric at address [

                (\"subsystem\" => \"modcluster\"),

                (\"mod-cluster-config\" => \"configuration\")


                "rolled-back" => true


            [standalone@localhost:9999 mod-cluster-config=configuration]


            I have the following configuration in AS7:

                  <subsystem xmlns="urn:jboss:domain:modcluster:1.0">

                        <mod-cluster-config advertise-socket="modcluster">

                            <dynamic-load-provider history="0" decay="1">

                                <load-metric type="heap" weight="1" capacity="1"/>




            • 3. Re: add-metric&remove-metric
              Jean-Frederic Clere Master

              I guess that was a bug related to AS7-3194 you should try with a never version of AS7.

              I have:


              [standalone@localhost:9999 mod-cluster-config=configuration] :add-metric(type=cpu)


                  "outcome" => "success",

                  "response-headers" => {

                      "operation-requires-reload" => true,

                      "process-state" => "reload-required"



              1 of 1 people found this helpful