0 Replies Latest reply on Jan 27, 2012 11:50 AM by herb

    jboss-admin add naming resource AS7

    herb Newbie

      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">


              <simple name="java:jboss/my/jndi/key1" value="MyJndiValue111"/>

              <simple name="my/jndi/key2" value="MyJndiValue22" type="String"/>




      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)