[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2265) JndiSessionRegistrarBase registers EJBs with @RemoteBinding twice

Dennis Reed (JIRA) jira-events at lists.jboss.org
Thu Jul 28 18:02:23 EDT 2011


JndiSessionRegistrarBase registers EJBs with @RemoteBinding twice
-----------------------------------------------------------------

                 Key: EJBTHREE-2265
                 URL: https://issues.jboss.org/browse/EJBTHREE-2265
             Project: EJB 3.0
          Issue Type: Bug
          Components: proxy-impl
    Affects Versions: EJB3_1 1.0.6
            Reporter: Dennis Reed
            Assignee: Dennis Reed


JndiSessionRegistrarBase registers the EJB's ProxyFactory, then immediately unbinds and registers it again.

This causes problems in ProxyClusteringRegistry because the register call sets up a map of cluster members, which is referenced
from the EJB's ReplicantsManagerInterceptor. The unbind then deletes this map in ProxyClusteringRegistry, and the 2nd
register creates a new map that will get updates when the cluster membership changes.
Since the interceptor now has a reference to a different map, it never sees the cluster membership changes.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list