Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5451

Unclean handling of JMX registrations by ChannelFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.CR1
    • JBossAS-5.0.0.Beta4
    • Clustering
    • None

    Description

      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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: