I need some help adding naming resources via jboss-admin, I've some trouble with ":add" syntax.
I like to add "simple" "bindings" to subsystem "naming" - I did it manually in standalone.xml, here's the result:
<subsystem xmlns="urn:jboss:domain:naming:1.1">
<bindings>
<simple name="java:jboss/my/jndi/key1" value="MyJndiValue111"/>
<simple name="my/jndi/key2" value="MyJndiValue22" type="String"/>
</bindings>
</subsystem>
But I want to add "<simple>" elements with jboss-admin cli? But I always get an error? Has anybody an example how to do this?
(I use AS7.1.0CR1b)