[jboss-jira] [JBoss JIRA] (AS7-4269) Binding failure when it occurs right after an unbind()

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Fri Mar 23 04:35:47 EDT 2012


Jeff Mesnil created AS7-4269:
--------------------------------

             Summary: Binding failure when it occurs right after an unbind()
                 Key: AS7-4269
                 URL: https://issues.jboss.org/browse/AS7-4269
             Project: Application Server 7
          Issue Type: Bug
          Components: JMS
    Affects Versions: 7.1.1.Final
            Reporter: Jeff Mesnil
            Assignee: Jeff Mesnil


When a JMS ConnectionFactory attribute is changed, HornetQ recreates the JNDI binding for the connection factory.
It does so by calling unbind()/bind() on its BindingRegistry SPI.

AS7BindingRegistry is implementing this interface. bind() creates a BinderService and unbind() stops it.
However unbind() implementation does not guarantee that the service is effectively removed when the method returns. If bind() is called right after that, it will fail to install a BinderService *with the same name* because there is already one in the state REMOVING.



--
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