1 of 1 people found this helpful
[Host Controller] Caused by: java.lang.IllegalArgumentException
[Host Controller] at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
[Host Controller] at org.jboss.dmr.ModelNode.keys(ModelNode.java:1085) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
[Host Controller] at org.jboss.as.controller.parsing.DomainXml.writeProfile(DomainXml.java:502) [jboss-as-controller-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]
trying to get the subsystems for the profile. Looks like a bug.
Is there a way to create a profile based on another existing profile, something like /profile=dummy:add(includes=ha)? [as on your post]
I get "Operation 'add' does not expect any property."
There used to be an option to do that but it looks like it disappeared from the XML schema between jboss-as-config_1_0.xsd and jboss-as-config_1_1.xsd.
It had some limitations, such as you couldn't override subsystem configurations from the included profile.
I just create the entire profile and related server configuration programmatically through the CLI from scratch for each deployment.