3 Replies Latest reply on Aug 21, 2012 12:53 PM by wdfink

    naming subsystem not working in domain mode?

    herb

      AS 7.1.1.Final:

       

      Having following bindings in standalone.xml

           <subsystem xmlns="urn:jboss:domain:naming:1.1">

                <bindings>

                     <simple name="java:jboss/somekey" value="somevalue"/>

                </bindings>

           </subsystem>

      I can do a context.lookup("java:jboss/somekey") in my application.

       

      But putting above bindings in domain.xml (e.g. into th "default" profile) and starting the server in domain mode, I get a javax.naming.NameNotFoundException.

       

      In AS7 standalone webconsole there's a menu entry "Container/Naming" but in AS7 domain mode webconsole there's no "Naming" menu entry below "Container".

       

      Do I do something wrong or isn't naming subsystem supported in domain mode or is this a bug??