• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.4.GA
    • None
    • JMX
    • None

      Another cause of memory leaks is the MBeanProxy stuff.
      Where the proxy gets stored against one classloader but references another.

      One example, that doesn't actually cause a memory leak (because EJBTimerService is not hot deployed)
      is the EJBTimer stuff:

      public MBeanDelegate(MBeanServer server)
      {
      try

      { ejbTimerService = (EJBTimerService)MBeanProxy.get(EJBTimerService.class, EJBTimerService.OBJECT_NAME, server); }

      catch (MBeanProxyCreationException e)

      { throw new IllegalStateException("Cannot create EJBTimerService proxy"); }

      }

              adrian.brock Adrian Brock (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: