4 Replies Latest reply on Oct 23, 2006 6:51 PM by Shawn Bertrand

    NameNotFoundException for topic message bean

    Shawn Bertrand Newbie

      I have an application working well in JBoss 3.2.3 that I'm attempting to get working in JBoss 4.0.4.GA, and am encountering this exception (abbreviated of course):

      14:27:59,616 WARN [JMSContainerInvoker] JMS provider failure detected for VNICTransProcessor
      javax.naming.NameNotFoundException: XAConnectionFactory not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
      .
      .

      We're using a <no-tx-datasource> Sybase datasource, and a connection manager declared in sybase-jdbc2-service.xml as:

      jboss.jca:service=DataSourceBinding,name=jdbc/UasDS

      This doesn't seem to be a problem, though we had been using the NoTxCM service in 3.2.3 - this doesn't work in 4.0.4 however.

      MBean is declared this way in ejb-jar.xml:

      <message-driven>
      This is the VNIC Transaction Processor Bean
      <display-name>VNICTransProcessor</display-name>
      <ejb-name>VNICTransProcessor</ejb-name>
      <ejb-class>com.macom.wsbu.uas.nps.ejb.VNICTransProcessor</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Topic</destination-type>
      <subscription-durability>NonDurable</subscription-durability>
      <destination-jndi-name>topic/nasCTNotifyTopic</destination-jndi-name>
      </message-driven-destination>
      <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
      <resource-ref>
      <res-ref-name>DataSource</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>
      </message-driven>

      This mbean uses a non-XA datasource, so I don't understand why the XAConnectionFactory is being referenced. I'm relatively new to JBoss, so any help would be appreciated.

      Thanks, and all the best,

      Shawn

        • 1. Re: NameNotFoundException for topic message bean
          Weston M. Price Master

          This isn't a reference to you datasource, but the JNDProviderLoader for your JMS configuration. The error is basically telling you that the XAConnectionFactory cannot be established. Could you post your jms-ds.xml file (from deploy/jms/ directoy) as well as your standardjboss.xml file.

          Note, by any chance did you just carry these files over from your old deployment?

          • 2. Re: NameNotFoundException for topic message bean
            Shawn Bertrand Newbie

            First off, thanks for the prompt reply.

            My misuse of terminology shows my newbie-ism, I'm afraid. I am migrating my files from the old application, but have taken pains to use the JBoss 4.x versions of all files we've customized and add our customizations to them. We have changed many configuration files (ejb-deployer.xml, jboss-service.xml, login-config.xml, log4j.xml, etc), but haven't touched jms-ds.xml or standardjboss.xml so I don't think posting them is necessary. Might I need to provide a new JMSProvider and no-tx-connection-factory?

            We're using a zip version of 4.0.4, btw. I also neglected to mention that we haven't changed any code - EJB's are still developed to the 2.1 spec.

            Thanks again, Weston.

            • 3. Re: NameNotFoundException for topic message bean
              Weston M. Price Master

               


              but haven't touched jms-ds.xml or standardjboss.xml


              Yes, I believe this is the issue. Again, please post your jms-ds.xml file and your standardjboss.xml file, at the very least, please post the portion of your jms-ds.xml file that references your provider loader.

              Chances are your new *-ds.xml file contains the line:


              org.jboss.jms.jndi.JBossMQProvider


              This was changed in JBoss 4.0.x. To


              org.jboss.jms.jndi.JNDIProviderAdapter


              There is a discrepancy somewhere. Again, this has nothing to do with your NoTxDataSource. The error is telling you that the DLQ handler for your MDB cannot be setup because the XAConnectionFactory cannot be found.



              • 4. Re: NameNotFoundException for topic message bean
                Shawn Bertrand Newbie

                Thanks for the quick response once again - you're quick and I appreciate your time.

                First, jms-ds.xml:

                <?xml version="1.0" encoding="UTF-8"?>

                <connection-factories>

                <!-- ==================================================================== -->
                <!-- JMS Stuff -->
                <!-- ==================================================================== -->

                <!-- The JMS provider loader -->

                DefaultJMSProvider

                org.jboss.jms.jndi.JNDIProviderAdapter

                <!-- The combined connection factory -->
                java:/XAConnectionFactory
                <!-- The queue connection factory -->
                java:/XAConnectionFactory
                <!-- The topic factory -->
                java:/XAConnectionFactory
                <!-- Uncomment to use HAJNDI to access JMS

                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
                java.naming.provider.url=localhost:1100

                -->


                <!-- The server session pool for Message Driven Beans -->

                <depends optional-attribute-name="XidFactory">jboss:service=XidFactory
                StdJMSPool

                org.jboss.jms.asf.StdServerSessionPoolFactory



                <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
                <tx-connection-factory>
                <jndi-name>JmsXA</jndi-name>
                <xa-transaction/>
                <rar-name>jms-ra.rar</rar-name>
                <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
                <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
                <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
                <max-pool-size>20</max-pool-size>
                <security-domain-and-application>JmsXARealm</security-domain-and-application>
                </tx-connection-factory>

                </connection-factories>


                Next, standardjboss.xml:

                <?xml version="1.0" encoding="UTF-8"?>

                <!DOCTYPE jboss PUBLIC
                "-//JBoss//DTD JBOSS 4.0//EN"
                "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

                <!-- ===================================================================== -->
                <!-- Standard JBoss EJB Configurations -->
                <!-- ===================================================================== -->
                <!-- $Id: standardjboss.xml,v 1.88.2.10 2006/03/16 13:39:31 tdiesler Exp $ -->


                <!--
                The missing-method-permissions-excluded-mode is a boolean
                that allows the deployer to globally indicate that all methods without a
                method-permission element should be treated as excluded(= true and the default),
                or that methods without a method-permission element should be treated as
                unchecked(= false)
                -->
                <missing-method-permissions-excluded-mode>true</missing-method-permissions-excluded-mode>

                <invoker-proxy-bindings>

                <invoker-proxy-binding>
                entity-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.EntityInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                <list-entity>
                org.jboss.proxy.ejb.ListEntityInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor
                </list-entity>
                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                clustered-entity-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.EntityInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                <list-entity>
                org.jboss.proxy.ejb.ListEntityInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor
                </list-entity>
                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                stateless-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.StatelessSessionInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                clustered-stateless-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.StatelessSessionInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                stateful-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.StatefulSessionInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                clustered-stateful-rmi-invoker
                <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
                <proxy-factory-config>
                <client-interceptors>

                org.jboss.proxy.ejb.HomeInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor


                org.jboss.proxy.ejb.StatefulSessionInterceptor
                org.jboss.proxy.SecurityInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.proxy.ejb.SingleRetryInterceptor
                <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
                <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor

                </client-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                message-driven-bean
                <invoker-mbean>default</invoker-mbean>
                <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
                <proxy-factory-config>
                DefaultJMSProvider
                StdJMSPool
                true
                <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
                1
                15
                30000
                1

                10

                queue/DLQ
                10
                0


                </proxy-factory-config>
                </invoker-proxy-binding>

                <!-- Uncomment to use JMS message inflow from jmsra.rar
                <invoker-proxy-binding>
                message-driven-bean
                <invoker-mbean>default</invoker-mbean>
                <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
                <proxy-factory-config>
                <activation-config>
                <activation-config-property>
                <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
                <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>minSession</activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>maxSession</activation-config-property-name>
                <activation-config-property-value>15</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>keepAlive</activation-config-property-name>
                <activation-config-property-value>60000</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>maxMessages</activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>reconnectInterval</activation-config-property-name>
                <activation-config-property-value>10</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>useDLQ</activation-config-property-name>
                <activation-config-property-value>true</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQHandler</activation-config-property-name>
                <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQJNDIName</activation-config-property-name>
                <activation-config-property-value>queue/DLQ</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQMaxResent</activation-config-property-name>
                <activation-config-property-value>10</activation-config-property-value>
                </activation-config-property>
                </activation-config>
                <endpoint-interceptors>
                org.jboss.proxy.ClientMethodInterceptor
                org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.invocation.InvokerInterceptor
                </endpoint-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>
                -->

                <invoker-proxy-binding>
                singleton-message-driven-bean
                <invoker-mbean>default</invoker-mbean>
                <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
                <proxy-factory-config>
                DefaultJMSProvider
                StdJMSPool
                true
                <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
                1
                1
                30000
                1

                10

                queue/DLQ
                10
                0


                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                message-inflow-driven-bean
                <invoker-mbean>default</invoker-mbean>
                <proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
                <proxy-factory-config>
                <endpoint-interceptors>
                org.jboss.proxy.ClientMethodInterceptor
                org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.invocation.InvokerInterceptor
                </endpoint-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                iiop
                <invoker-mbean>jboss:service=invoker,type=iiop</invoker-mbean>
                <proxy-factory>org.jboss.proxy.ejb.IORFactory</proxy-factory>
                <proxy-factory-config>
                <web-class-loader>org.jboss.iiop.WebCL</web-class-loader>
                per-servant
                <register-ejbs-in-jnp-context>true</register-ejbs-in-jnp-context>
                <jnp-context>iiop</jnp-context>
                <interface-repository-supported>false</interface-repository-supported>
                </proxy-factory-config>
                </invoker-proxy-binding>

                <invoker-proxy-binding>
                jms-message-inflow-driven-bean
                <invoker-mbean>default</invoker-mbean>
                <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
                <proxy-factory-config>
                <activation-config>
                <activation-config-property>
                <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
                <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>minSession</activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>maxSession</activation-config-property-name>
                <activation-config-property-value>15</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>keepAlive</activation-config-property-name>
                <activation-config-property-value>60000</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>maxMessages</activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>reconnectInterval</activation-config-property-name>
                <activation-config-property-value>10</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>useDLQ</activation-config-property-name>
                <activation-config-property-value>true</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQHandler</activation-config-property-name>
                <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQJNDIName</activation-config-property-name>
                <activation-config-property-value>queue/DLQ</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                <activation-config-property-name>DLQMaxResent</activation-config-property-name>
                <activation-config-property-value>10</activation-config-property-value>
                </activation-config-property>
                </activation-config>
                <endpoint-interceptors>
                org.jboss.proxy.ClientMethodInterceptor
                org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor
                org.jboss.proxy.TransactionInterceptor
                org.jboss.invocation.InvokerInterceptor
                </endpoint-interceptors>
                </proxy-factory-config>
                </invoker-proxy-binding>
                </invoker-proxy-bindings>

                <container-configurations>

                <container-configuration>
                <container-name>Standard CMP 2.x EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>B</commit-option>
                </container-configuration>

                <container-configuration>
                <!--
                | This is like standard IPT but with global (cross-transactional) row cache behind,
                | i.e. no locking in EJB layer + global persistence data cache
                -->
                <container-name>cmp2.x jdbc2 pm</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>true</insert-after-ejb-post-create>
                <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
                <container-cache-conf>
                <cache-policy-conf>
                <min-capacity>500</min-capacity>
                <max-capacity>10000</max-capacity>
                <!-- uncomment to enable time-based eviction
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age> -->
                </cache-policy-conf>
                <cache-policy-conf-other>
                10
                <!-- uncomment to use JDBC java.sql.Statement.executeBatch()
                <batch-commit-strategy/> -->
                <!-- uncomment to enable cache invalidation -->
                </cache-policy-conf-other>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>C</commit-option> <!-- don't change, irrelevant, use container-cache-conf -->
                </container-configuration>

                <container-configuration>
                <container-name>Clustered CMP 2.x EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>clustered-entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.CleanShutdownInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>B</commit-option>
                <cluster-config>
                <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
                </cluster-config>
                </container-configuration>

                <container-configuration>
                <container-name>Standard CMP 2.x EntityBean with cache invalidation</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor
                org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>A</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Instance Per Transaction CMP 2.x EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
                <container-cache-conf/>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>C</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Standard CMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>A</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Clustered CMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>clustered-entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.CleanShutdownInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>A</commit-option>
                <cluster-config>
                <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
                </cluster-config>
                </container-configuration>

                <container-configuration>
                <container-name>Instance Per Transaction CMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
                <container-cache-conf/>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>C</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Standard Stateless SessionBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ws.server.ServiceEndpointInterceptor
                org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
                org.jboss.ejb.plugins.TxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ws.server.ServiceEndpointInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
                <instance-cache></instance-cache>
                <persistence-manager></persistence-manager>
                <container-pool-conf>
                100
                </container-pool-conf>
                </container-configuration>

                <container-configuration>
                <container-name>Clustered Stateless SessionBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>clustered-stateless-rmi-invoker</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.CleanShutdownInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ws.server.ServiceEndpointInterceptor
                org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
                org.jboss.ejb.plugins.TxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ws.server.ServiceEndpointInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
                <instance-cache></instance-cache>
                <persistence-manager></persistence-manager>
                <container-pool-conf>
                100
                </container-pool-conf>
                <cluster-config>
                <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
                </cluster-config>
                </container-configuration>


                <container-configuration>
                <container-name>Standard Stateful SessionBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>stateful-rmi-invoker</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
                org.jboss.ejb.plugins.TxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                </container-interceptors>
                <instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <remover-period>1800</remover-period>
                <max-bean-life>1800</max-bean-life>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                </container-configuration>

                <container-configuration>
                <container-name>Clustered Stateful SessionBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>clustered-stateful-rmi-invoker</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.CleanShutdownInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
                org.jboss.ejb.plugins.TxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor
                </container-interceptors>
                <instance-cache>org.jboss.ejb.plugins.StatefulHASessionInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.StatefulHASessionPersistenceManager</persistence-manager>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <remover-period>1800</remover-period>
                <max-bean-life>1800</max-bean-life>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <cluster-config>
                <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
                </cluster-config>
                </container-configuration>

                <container-configuration>
                <container-name>Standard BMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>A</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Clustered BMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>clustered-entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.CleanShutdownInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
                <cache-policy-conf>
                <min-capacity>50</min-capacity>
                <max-capacity>1000000</max-capacity>
                <overager-period>300</overager-period>
                <max-bean-age>600</max-bean-age>
                <resizer-period>400</resizer-period>
                <max-cache-miss-period>60</max-cache-miss-period>
                <min-cache-miss-period>1</min-cache-miss-period>
                <cache-load-factor>0.75</cache-load-factor>
                </cache-policy-conf>
                </container-cache-conf>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>A</commit-option>
                <cluster-config>
                <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
                </cluster-config>
                </container-configuration>

                <container-configuration>
                <container-name>Instance Per Transaction BMP EntityBean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
                <sync-on-commit-only>false</sync-on-commit-only>
                <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.SecurityInterceptor
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.EntityCreationInterceptor
                org.jboss.ejb.plugins.EntityLockInterceptor
                org.jboss.ejb.plugins.EntityInstanceInterceptor
                org.jboss.ejb.plugins.EntityReentranceInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                org.jboss.ejb.plugins.EntitySynchronizationInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
                <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
                <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
                <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
                <container-cache-conf/>
                <container-pool-conf>
                100
                </container-pool-conf>
                <commit-option>C</commit-option>
                </container-configuration>

                <container-configuration>
                <container-name>Standard Message Driven Bean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.RunAsSecurityInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
                <instance-cache></instance-cache>
                <persistence-manager></persistence-manager>
                <container-pool-conf>
                100
                </container-pool-conf>
                </container-configuration>

                <container-configuration>
                <container-name>Singleton Message Driven Bean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>singleton-message-driven-bean</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.RunAsSecurityInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
                <instance-cache></instance-cache>
                <persistence-manager></persistence-manager>
                <container-pool-conf>
                100
                </container-pool-conf>
                </container-configuration>

                <container-configuration>
                <container-name>Standard Message Inflow Driven Bean</container-name>
                <call-logging>false</call-logging>
                <invoker-proxy-binding-name>message-inflow-driven-bean</invoker-proxy-binding-name>
                <container-interceptors>
                org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
                org.jboss.ejb.plugins.LogInterceptor
                org.jboss.ejb.plugins.RunAsSecurityInterceptor
                <!-- CMT -->
                org.jboss.ejb.plugins.TxInterceptorCMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                <!-- BMT -->
                org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
                org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
                org.jboss.ejb.plugins.CallValidationInterceptor
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor
                </container-interceptors>
                <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
                <instance-cache></instance-cache>
                <persistence-manager></persistence-manager>
                <container-pool-conf>
                100
                </container-pool-conf>
                </container-configuration>

                </container-configurations>