[jboss-jira] [JBoss JIRA] Created: (JBAS-5451) Unclean handling of JMX registrations by ChannelFactory

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Apr 15 10:57:54 EDT 2008


Unclean handling of JMX registrations by ChannelFactory
-------------------------------------------------------

                 Key: JBAS-5451
                 URL: http://jira.jboss.com/jira/browse/JBAS-5451
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Clustering
    Affects Versions: JBossAS-5.0.0.Beta4
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: JBossAS-5.0.0.CR1


First, only MuxChannels are registered.  All channels should be registered.  This will necessitate adding a ChannelListener to all channels so the factory gets a callback when the channel is closed, at which point it can be deregistered.

Second, the AS ChannelFactory's destroy method delegates to org.jgroups.JChannelFactory, which in turn removes everything from JMX that's registered under the jboss.jgroups domain.  That includes the ChannelFactory itself.  This can cause problems if the pojo factory is destroyed before the JMX proxy to the factory.

The deregistration needs to be more fine grained.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list