Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-119

org.jboss.ejb.client.EJBReceiver needs disassociate method

    XMLWordPrintable

Details

    Description

      org.jboss.ejb.client.EJBReceiver has a associate but not a disassociate method.

      DescriptorBasedEJBClientContextService still seems to be holding references to LocalEjbReceiver when an application is undeployed, which leads to a memory leak and the application classloader does not get freed.

      Class Name                                                                                                                                                      | Ref. Objects | Shallow Heap | Ref. Shallow Heap | Retained Heap
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery @ 0xe06c96a8  Periodic Recovery Thread                                                                 |            1 |          152 |                88 |         1,800
      '- _recoveryModules java.util.Vector @ 0xe06c9a68                                                                                                               |            1 |           32 |                88 |            88
         '- elementData java.lang.Object[10] @ 0xe06c9a88                                                                                                             |            1 |           56 |                88 |            56
            '- [3] com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule @ 0xe06c9ac0                                                                      |            1 |           64 |                88 |         1,536
               '- _resources java.util.ArrayList @ 0xe14ebac0                                                                                                         |            1 |           24 |                88 |            80
                  '- elementData java.lang.Object[10] @ 0xe14ebad8                                                                                                    |            1 |           56 |                88 |            56
                     '- [0] org.jboss.ejb.client.RecoveryOnlyEJBXAResource @ 0xe14eba88                                                                               |            1 |           24 |                88 |            24
                        '- receiverContext org.jboss.ejb.client.EJBReceiverContext @ 0xe06ca308                                                                       |            1 |           32 |                88 |           672
                           '- receiver org.jboss.as.ejb3.remote.LocalEjbReceiver @ 0xe06ca070                                                                         |            1 |           56 |                88 |         4,096
                              '- contexts java.util.concurrent.CopyOnWriteArrayList @ 0xe06ca2c0                                                                      |            1 |           24 |                88 |         3,472
                                 '- array java.lang.Object[6] @ 0xe116d5d8                                                                                            |            1 |           40 |                88 |         3,400
                                    '- [3] org.jboss.ejb.client.EJBReceiverContext @ 0xe11face0                                                                       |            1 |           32 |                88 |           672
                                       '- clientContext org.jboss.ejb.client.EJBClientContext @ 0xe11fae38                                                            |            1 |           64 |                88 |         2,896
                                          '- reconnectHandlers java.util.ArrayList @ 0xe11fb630                                                                       |            1 |           24 |                88 |         1,160
                                             '- elementData java.lang.Object[10] @ 0xe11fb648                                                                         |            1 |           56 |                88 |         1,136
                                                '- [1] org.jboss.as.ejb3.remote.DescriptorBasedEJBClientContextService$OutboundConnectionReconnectHandler @ 0xe11fb680|            1 |           48 |                88 |            48
                                                   '- this$0 org.jboss.as.ejb3.remote.DescriptorBasedEJBClientContextService @ 0xe11fb728                             |            1 |           40 |                88 |           744
                                                      '- clientContextClassloader org.jboss.modules.ModuleClassLoader @ 0xe11fb8c8                                    |            1 |           88 |                88 |       125,488
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: