title: jboss as 7: JBAS014639: Attribute enabled is not writable (deployment attribute)
body: <p>I've deployed an application to all of mine server-groups through jboss-cli and the application became enabled to all groups. until there that's ok!</p>
  
  <p>BUT</p>
  
  <p>I need to <strong>disable</strong> (not undeploy) the app from one of my groups (called "honda") though jboss-cli. the problem is that this option is only available through web console.</p>
  
  <p>when I go through jboss-cli and execute this</p>
  
  <pre><code>/server-group=honda/deployment=app01.war:write-attribute(name=enabled, value=false)
  </code></pre>
  
  <p>I got the response</p>
  
  <pre><code>{
      "outcome" =&gt; "failed",
      "failure-description" =&gt; {"domain-failure-description" =&gt; "JBAS014639: Attribute enabled is not writable"},
      "rolled-back" =&gt; true
  }
  </code></pre>
  
  <p>I've already looked for 'JBAS014639: Attribute enabled is not writable' at google but not found any resource about the <em>enabled</em> attribute of <strong>deployment</strong></p>
  
  <p>please help me</p>