[jboss-user] [Beginner's Corner] - jboss-admin add naming resource AS7

herb do-not-reply at jboss.com
Fri Jan 27 11:50:25 EST 2012


herb [https://community.jboss.org/people/herb] created the discussion

"jboss-admin add naming resource AS7"

To view the discussion, visit: https://community.jboss.org/message/649147#649147

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

Reply to this message by going to Community
[https://community.jboss.org/message/649147#649147]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120127/f35ce40d/attachment.html 


More information about the jboss-user mailing list