[jboss-as7-dev] Create new server group error

Emanuel Muckenhuber emuckenh at redhat.com
Fri Mar 25 08:45:25 EDT 2011


Hmm, the address should be a list like:

{
     "operation" : "add",
     "address" : [{
         "PROPERTY_VALUE" : {
             "server-group" : "dev"
         }
     }],
     "profile" : "default"
}

I guess you just need to use:
address.add("server-group", "dev");

instead of:
address.set("server-group", "dev");

On 03/25/2011 01:20 PM, Heiko Braun wrote:
> the following operation leads to the error below:
>
>
> [INFO] {
> [INFO]     "operation" : "add",
> [INFO]     "address" : {
> [INFO]         "PROPERTY_VALUE" : {
> [INFO]             "server-group" : "dev"
> [INFO]         }
> [INFO]     },
> [INFO]     "profile" : "default"
> [INFO] }



More information about the jboss-as7-dev mailing list