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

JMX Registration is not closed

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.2.14.GA
    • None
    • 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

            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: