1 Reply Latest reply on Oct 14, 2005 11:35 AM by Clebert Suconic

    eclipse tptp/hyades & stateless session bean

    evrim ulu Newbie


      This question is maybe offtopic but i'm sure people here know much better than me about profiling.

      I'm trying to profile my ejb3 stateless session beans with eclipse tptp feature. As far as i see, jboss pools my slsb's so, they cannot be gc'ed. I've tried to slim pooling from ejb3-interceptors-aop.xml via changing lines below inside slsb definition:

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

      Although maxSize and timeout values are 0, i see my slsb instances left after operation. So, here is the question: What is the correct way disable pooling and make my slsb's gc'ed?