[jboss-as7-dev] deployment enabled attribute in domain.xml

Alexey Loubyansky alexey.loubyansky at redhat.com
Thu Apr 28 06:30:42 EDT 2011


It seems like it's not marshalled after a deployment has been undeployed 
for a specific server group (this does work in standalone) although 
read-attribute returns false.

[domain at localhost:9999 /] 
/server-group=main-server-group/deployment=test-deployment.sar:undeploy()
{
     "outcome" => "success",
     "result" => {"server-groups" => {"main-server-group" => {
         "server-two" => {
             "host" => "local",
             "response" => {
                 "outcome" => "success",
                 "result" => undefined,
                 "compensating-operation" => {
                     "operation" => "deploy",
                     "address" => [("deployment" => "test-deployment.sar")]
                 }
             }
         },
         "server-one" => {
             "host" => "local",
             "response" => {
                 "outcome" => "success",
                 "result" => undefined,
                 "compensating-operation" => {
                     "operation" => "deploy",
                     "address" => [("deployment" => "test-deployment.sar")]
                 }
             }
         }
     }}},
     "compensating-operation" => {
         "operation" => "deploy",
         "address" => [
             ("server-group" => "main-server-group"),
             ("deployment" => "test-deployment.sar")
         ]
     }
}

[domain at localhost:9999 /] 
/server-group=main-server-group/deployment=test-deployment.sar:read-attribute(name=enabled)
{
     "outcome" => "success",
     "result" => false,
     "compensating-operation" => undefined
}

         <server-group name="main-server-group" profile="default">
             <jvm name="default">
                 <heap size="64m" max-size="512m"/>
             </jvm>
             <socket-binding-group ref="standard-sockets"/>
             <deployments>
                 <deployment name="test-deployment.sar" 
runtime-name="test-deployment.sar" 
sha1="694a230369425d4528d7621e7ccc0cb08f122c4c"/>
             </deployments>
         </server-group>


More information about the jboss-as7-dev mailing list