[jboss-as7-dev] Recursive "add" operations

Heiko Braun hbraun at redhat.com
Mon Oct 22 05:17:21 EDT 2012




I am working on a use cases that enables people to "copy" resources. I.e. creating a clone of a server configuration under a new name. I've realised that recursive add operations, covering a larger resource tree don't seem to work (see example below). Is there any "switch" that I am not aware of, or this simply not work due to the design of the operation handlers?


[INFO] {
[INFO]     "operation" => "add",
[INFO]     "address" => [
[INFO]         ("host" => "master"),
[INFO]         ("server-config" => "prod_copy")
[INFO]     ],
[INFO]     "auto-start" => true,
[INFO]     "cpu-affinity" => undefined,
[INFO]     "group" => "production-1",
[INFO]     "interface" => undefined,
[INFO]     "path" => undefined,
[INFO]     "priority" => undefined,
[INFO]     "socket-binding-group" => "full-sockets",
[INFO]     "socket-binding-port-offset" => 150,
[INFO]     "jvm" => {"default" => {
[INFO]         "agent-lib" => undefined,
[INFO]         "agent-path" => undefined,
[INFO]         "debug-enabled" => false,
[INFO]         "debug-options" => undefined,
[INFO]         "env-classpath-ignored" => undefined,
[INFO]         "environment-variables" => undefined,
[INFO]         "heap-size" => "256m",
[INFO]         "java-agent" => undefined,
[INFO]         "java-home" => undefined,
[INFO]         "jvm-options" => undefined,
[INFO]         "max-heap-size" => "256m",
[INFO]         "max-permgen-size" => undefined,
[INFO]         "permgen-size" => undefined,
[INFO]         "stack-size" => undefined,
[INFO]         "type" => undefined
[INFO]     }},
[INFO]     "system-property" => {"test" => {
[INFO]         "boot-time" => false,
[INFO]         "value" => "value"
[INFO]     }}
[INFO] }




More information about the jboss-as7-dev mailing list