[jboss-jira] [JBoss JIRA] (AS7-4879) Objects implementing javax.naming.Referenceable are not bound to jndi correctly

Michael Gronau (JIRA) jira-events at lists.jboss.org
Thu May 24 09:47:19 EDT 2012


Michael Gronau created AS7-4879:
-----------------------------------

             Summary: Objects implementing javax.naming.Referenceable are not bound to jndi correctly
                 Key: AS7-4879
                 URL: https://issues.jboss.org/browse/AS7-4879
             Project: Application Server 7
          Issue Type: Bug
          Components: Naming
    Affects Versions: 7.1.2.Final (EAP)
            Reporter: Michael Gronau
            Assignee: John Bailey


Normally when those object are to be bound to the jndi its getReference() method is called and this reference is then bound. When looking up this reference from a remote client it is resolved and instantiated with the ObjectFactory class stored in this Reference object. All this corrently does not work (the invocation of getReference() and the instantiation of the object).

One little workaround is only to bind the Reference object directly, i.e. create the Referenceable object, call the getReference() and bind this reference to the jndi. But the instantiation only works with local clients (inside jboss jvm), not with remote clients.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list