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

Heiko Braun hbraun at redhat.com
Mon Mar 28 04:14:45 EDT 2011



you are right. my bad.

thanks

On Mar 25, 2011, at 1:45 PM, Emanuel Muckenhuber wrote:

> 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] }
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list