Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-246

:read-attribute and :write-attribute Error in AS7

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.3.Final
    • Fix Version/s: 1.2.0.Beta4
    • Component/s: None
    • Labels:
      None

      Description

      :read-attribute(name=xyz) and :write-attribute(name=xyz,value=zyx) do not work in console with JBoss AS7.1 nightly builds.

      The expectation is that :read-attribute will return the current value of the property or the default value if the property has not been set. For :write-attribute the expectation is that all the properties listed in :read-resource-description can be set.

      The JBoss was started with the following command:
      bin/standalone.sh --server-config=standalone-ha.xml

      Here is the current output for invoking the two operations use the advertise attribute as an example. The outcome of both operations is failed.

      [standalone@localhost:9999 subsystem=modcluster] :read-attribute(name=advertise)

      { "outcome" => "failed", "failure-description" => "No known attribute advertise", "rolled-back" => true }

      [standalone@localhost:9999 subsystem=modcluster] :write-attribute(name=advertise,value=true)

      { "outcome" => "failed", "failure-description" => "No known attribute called advertise", "rolled-back" => true }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jfclere Jean-Frederic Clere
                Reporter:
                nstefan Stefan Negrea
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: