Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-172

JMX Registration is not closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.2.14.GA
    • None

    Description

      In org.jboss.remoting3.remote.RemoteConnectionProvider, in the paramaterised constructor, a registration is performed:

              try {
                  final MBeanServer server = ManagementFactory.getPlatformMBeanServer();
                  server.registerMBean(new RemoteConnectionProviderMXBean() {
                      public void dumpConnectionState() {
                          doDumpConnectionState();
                      }
      
                      public String dumpConnectionStateToString() {
                          return doGetConnectionState();
                      }
                  }, new ObjectName("jboss.remoting.handler", "name", connectionProviderContext.getEndpoint().getName() + "-" + hashCode()));
              } catch (Exception e) {
                  // ignore
              }
      

      This registration is never removed - leading to objects building up over time.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: REM3

              People

                dlloyd@redhat.com David Lloyd
                rhn-support-dgrove Doug Grove (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: