0 Replies Latest reply on Sep 27, 2012 10:33 PM by rosansamuel

    Container configuration for MDB not picked from jboss.xml ,It take the default pool size configuration from standardjboss.xml

    rosansamuel

      Hi Friends,

       

      we are having the situation, a client wants to configure the MDB pool size from jboss.xml. Not by standardjboss.xml.in order to supply dynamic value, i added the container configuration like following,But when i am doing my load test, the MDB pool size not increased by as configured in jboss.xml. i mean the container configuration not picked from jboss.xml, it took from standardjboss.xml. Could you please suggest something why it won't take the configuration from jboss.xml?

       

      Application server : Jboss 4.2.3.GA

       

       

       

       

      <!--Container Configuration -->

      <container-configurations>

        <container-configuration>

         <container-name>OFSMessageMDBContainerConfig</container-name>

         <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name> 

         <container-interceptors> 

          <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor> 

          <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor> 

          <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor> 

          <!-- CMT --> 

          <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor> 

          <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor> 

          <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor> 

          <!-- BMT --> 

          <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor> 

          <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor> 

          <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor> 

          <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor> 

         </container-interceptors> 

         <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool> 

         <instance-cache></instance-cache> 

         <persistence-manager></persistence-manager>

         <container-pool-conf>

          <MaximumSize>40</MaximumSize>

          <MinimumSize>20</MinimumSize>

         </container-pool-conf>

        </container-configuration>

      </container-configurations>