0 Replies Latest reply on Oct 5, 2005 12:54 AM by evrim ulu

    @EJB injection, SoftReference, profiling ejb3

    evrim ulu Newbie


      I'm trying to profile my ejb3 slsbs with eclipse tptp feature. In order ejb3 pool to release all sessions beans after unit testing i've set timeout and maxsize to 0:

      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
      @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=0, timeout=

      I am not sure about but i couldn't find any other setting.

      Also, my slsbs' have references to other slsb's injected with @EJB annotation. As far as i see, beans are not gc'ed after unit test. What is the correct way to make pooling implementation to release all slsb's after a period or just after or during gc? I suspect cross referencing between slsbs'.

      I'm using "client" compiler and afaik soft references are collected after one second of last referencing action. So i mustn't be soft reference.

      Any suggestions?