[jboss-jira] [JBoss JIRA] (AS7-5916) CLONE - JNDI listBindings() does not work for items in java:jboss/exported - EAP 6.0.0

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Fri Nov 9 16:52:18 EST 2012


Brad Maxwell created AS7-5916:
---------------------------------

             Summary: CLONE - JNDI listBindings() does not work for items in java:jboss/exported - EAP 6.0.0
                 Key: AS7-5916
                 URL: https://issues.jboss.org/browse/AS7-5916
             Project: Application Server 7
          Issue Type: Bug
          Components: Naming
    Affects Versions: 7.1.2.Final (EAP)
            Reporter: Brad Maxwell
            Assignee: Stuart Douglas
             Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
         Attachments: BindJndiDemo.java

When an object is bound to java:jboss/exported/abc/def (for example using the naming subsystem in standalone.xml), it can be retrieved from a remote client with context.lookup("abc/def").

Calling context.listBindings("abc") return 0 bindings. This appears to be because ServiceBasedNamingStore.lookup() checks the service registry and then the boundServices, but listBindings() only checks the boundServices.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list