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

Brian Stansberry brian.stansberry at redhat.com
Thu Apr 28 10:08:55 EDT 2011


https://issues.jboss.org/browse/AS7-693

I'll send you a patch for review in a minute.

On 4/28/11 5:30 AM, Alexey Loubyansky wrote:
> 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>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list