4 Replies Latest reply on Mar 20, 2016 1:02 PM by Wolf-Dieter Fink

    When does JBoss destroy stateless ejb instances?

    Henrik Hoffmann Newbie

      Hi,

      if i'am right, in my case the instances of stateless ejb's are created during phases of high load, until reaching max-pool-size.

      It seems that these instances stay in bean pool forerver, even if they are not used.

       

      I wan't the jboss to automatically destroy stateless ejb instances if the are not used by a defined amount of time.

      I'am using Jboss EAP 6.4.6

       

      Is this possible and when yes, HOW?

       

       

      Thank you in advance