0 Replies Latest reply on May 21, 2003 4:19 AM by sdegiorgi

    MDB pool size

    sdegiorgi

      Hi,
      I want to limit the mdb pool to only one instance with the following jboss.xml but i can't get the excpected behavior
      The pdf "JBoss Administration and Development
      Second Edition" Last Updated: April 14, 2003 9:41 am
      mention strictMaximumSize tag but this tag isn't defined in dtd.
      I'm using jboss 3.2.1 on Windows XP prof. with sun jvm 1.4.1_02.
      Thanks for your help
      Best regards
      --
      stefano

      --- begin ---
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">


      <enterprise-beans>
      <message-driven>
      <ejb-name>UserEventConsumerMDB</ejb-name>
      <destination-jndi-name>queue/owTestQueue</destination-jndi-name>
      </message-driven>
      </enterprise-beans>

      <container-configurations>
      <container-configuration>
      <container-name>Standard Message Driven Bean</container-name>
      <call-logging>false</call-logging>
      <container-invoker>org.jboss.ejb.plugins.jms.JMSContainerInvoker</container-invoker>
      <container-interceptors>
      org.jboss.ejb.plugins.LogInterceptor
      org.jboss.ejb.plugins.SecurityInterceptor
      <!-- CMT -->
      org.jboss.ejb.plugins.TxInterceptorCMT
      org.jboss.ejb.plugins.MetricsInterceptor
      org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
      <!-- BMT -->
      org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
      org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
      org.jboss.ejb.plugins.MetricsInterceptor
      </container-interceptors>
      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
      <instance-cache></instance-cache>
      <persistence-manager></persistence-manager>
      <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
      <container-invoker-conf>
      DefaultJMSProvider
      StdJMSPool
      1
      1

      100

      </container-invoker-conf>
      <container-pool-conf>
      1
      </container-pool-conf>
      </container-configuration>
      </container-configurations>


      -- end ---