0 Replies Latest reply on Jan 9, 2004 2:52 PM by mandar

    Number of Stateless Session Beans Instances (CreateCount) in

    mandar Newbie

       

      "mandarm" wrote:
      "mandarm" wrote:
      "mandarm" wrote:
      Hi,
      While viewing the JMX console mbean page of a stateless session bean, I can see the following numbers

      CreateCount 4000+
      RemoveCount 0
      Name StatelessSessionContainer

      1) Using JBoss 3.2.1 on linux JDK 1.4.1_02
      2)We have not changed any default settings related to pool size etc.
      3) This bean is called by remote clients using jndi lookup
      4) Clients do not call remove method.

      Questions
      1) Why is this number so high ? Isn't there some max pool size setting which is 100
      2)Is this something to worry about as these many instance might take memory, resources etc ?
      3)Will it be better if all our clients (other intranet apps) call remove() after calling the business methods ?

      Please advise.

      Thanks
      Mandar