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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.Beta4
    • 1.1.3.Final
    • None
    • None

      :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
      }

              rhn-engineering-jclere Jean-Frederic Clere
              nstefan_jira Stefan Negrea (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: