1 Reply Latest reply on Oct 1, 2002 4:51 AM by hounce

    JBoss 3.0 instance pool configuration

    diego

      Hello,

      I am running jboss-3.0.0_tomcat-4.0.3 on Win2K and I encounter a problem similar to the one reported by ftibbitts at Oct 24, 2001.

      I have a simple test application that consists in one single MDB. I want this MDB to be initialized at JBoss start-up. I figured out that JBoss would pre-create the bean if I set up a pool with minimum size of 1. I did so via jboss.xml:
      jboss/container-configurations/container-configuration/container-pool-conf/MinimumSize

      I tried several values, but JBoss ignores them. Am I missing something? Is this the JBoss expected behaviour?


      Diego

        • 1. Re: JBoss 3.0 instance pool configuration
          hounce

          Unfortunately MinimumSize doesn't seem to be supported according to the jboss_3_0.dtd :

          <!ELEMENT container-pool-conf (MaximumSize , feeder-policy , feeder-policy-conf)>

          For WebLogic you would simply say:
          <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
          in message-driven-descriptor/pool, but I guess there's no solution for JBoss

          Hounce