3 Replies Latest reply on May 2, 2002 5:31 AM by al-dema

    instance pool configuration

    ftibbitts

      I'm running jboss 2.2.2 on Win 2K. I have a stateless session bean. I'd like to configure the container so that it pre-creates some number of instances of my bean when jboss is started. From reading the docs, it seems that I can set this in the MinimumSize property in the container-pool-conf section of my container configuration.

      After setting this up and restarting jboss, no instances of my bean are created. Am I misunderstanding the intent of container-pool-conf, or should this work?


      Thanks in advance,

      -Fred

        • 1. Re: instance pool configuration
          mintubaba

          Hello,

          I have checked the same behaviour by creating the simple entity bean which is cmp .but i didn't found how jboss is creating instance and put that in to pool and maintain the pool. even i edited the standardjboss.xml with max parameter is less then min parameter then also it didn't give me the warning as per the source code it shoul give me the warnig. so can any one tell me that how i jboss maintain instance pool.

          thanks in adavance
          vishal

          • 2. Re: instance pool configuration
            mintubaba

            Hello,

            I have checked the same behaviour by creating the simple entity bean which is cmp .but i didn't found how jboss is creating instance and put that in to pool and maintain the pool. even i edited the standardjboss.xml with max parameter is less then min parameter then also it didn't give me the warning as per the source code it should give me the warnig. so can any one tell me that how i jboss maintain instance pool.

            thanks in adavance
            vishal

            • 3. Re: instance pool configuration
              al-dema

              in JBoss2.4.4 the same thing happens, looks to me like a bug!