How to add bindings in JBoss EAP 7 / 6 naming subsystem by using CLI

Solution Verified - Updated -

Issue

  • How to add bindings in naming subsystem as the following lines by CLI :
<subsystem xmlns="urn:jboss:domain:naming:1.3">
     <bindings>
          <lookup name="java:/jdbc/test1" lookup="java:/jdbc/ds1"/>
          <lookup name="java:/jdbc/test2" lookup="java:/jdbc/ds2"/>
     </bindings>
     <remote-naming/>
</subsystem>
  • Need CLI cmd for creating URL with naming subsystem ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content