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

<jboss>
	<enforce-ejb-restrictions>false</enforce-ejb-restrictions>
    <container-configurations>

		<container-configuration>
	 		<container-name>Standard CMP EntityBean</container-name>
	 		<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
	        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
            </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.jaws.JAWSPersistenceManager</persistence-manager>
			<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
			<container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
				<Optimized>True</Optimized>
			</container-invoker-conf>
			<container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>      
				<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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>
				<MaximumSize>100</MaximumSize>
				<MinimumSize>10</MinimumSize>
			</container-pool-conf>
			<commit-option>A</commit-option>
        </container-configuration>

		<container-configuration>
	 		<container-name>jdk1.2.2 CMP EntityBean</container-name>
	 		<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
	        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
            </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.jaws.JAWSPersistenceManager</persistence-manager>
	    <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
            <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
            <container-invoker-conf>
			    <RMIObjectPort>4444</RMIObjectPort>
                <Optimized>True</Optimized>
            </container-invoker-conf>
                <container-cache-conf>
              	    <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>      
					<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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>
                <MaximumSize>100</MaximumSize>
                <MinimumSize>10</MinimumSize>
            </container-pool-conf>
            <commit-option>A</commit-option>
        </container-configuration>

		<container-configuration>
			<container-name>Standard Stateless SessionBean</container-name>
			<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <!-- CMT -->
                <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
                <!-- BMT -->
                <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
                <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
            </container-interceptors>
			<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
			<instance-cache></instance-cache>
			<persistence-manager></persistence-manager>
			<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
			<Optimized>True</Optimized>
			</container-invoker-conf>
			<container-pool-conf>
			<MaximumSize>100</MaximumSize>
			<MinimumSize>10</MinimumSize>
			</container-pool-conf>
		</container-configuration>

		<container-configuration>
			<container-name>jdk1.2.2 Stateless SessionBean</container-name>
			<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <!-- CMT -->
                <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
                <!-- BMT -->
                <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
                <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
            </container-interceptors>
			<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
			<instance-cache></instance-cache>
			<persistence-manager></persistence-manager>
			<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
			<Optimized>True</Optimized>
			</container-invoker-conf>
			<container-pool-conf>
			<MaximumSize>100</MaximumSize>
			<MinimumSize>10</MinimumSize>
			</container-pool-conf>
		</container-configuration>

		<container-configuration>
			<container-name>Standard Stateful SessionBean</container-name>
			<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <!-- CMT -->
                <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                <!-- BMT -->
                <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
            </container-interceptors>
			<instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
			<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
			<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
			<Optimized>True</Optimized>
			</container-invoker-conf>
			<container-cache-conf>
				<cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>      
				<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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-configuration>

		<container-configuration>
			<container-name>jdk1.2.2 Stateful SessionBean</container-name>
			<call-logging>false</call-logging>
			<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <!-- CMT -->
                <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                <!-- BMT -->
                <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
            </container-interceptors>
		        <instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
                        <persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
                        <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
                        <container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
                        <Optimized>True</Optimized>
                        </container-invoker-conf>
                        <container-cache-conf>
				<cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>      
				<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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-configuration>

       	<container-configuration>
			<container-name>Standard BMP EntityBean</container-name>
		 	<call-logging>false</call-logging>
		 	<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
	        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
            </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>
		 	<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
		 	<container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
		   		<Optimized>True</Optimized>
		 	</container-invoker-conf>
			<container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>      
				<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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>
		   	<MaximumSize>100</MaximumSize>
		   	<MinimumSize>10</MinimumSize>
		 	</container-pool-conf>
		 	<commit-option>A</commit-option>
		</container-configuration>

       	<container-configuration>
			<container-name>jdk1.2.2 BMP EntityBean</container-name>
		 	<call-logging>false</call-logging>
		 	<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
            <container-interceptors>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
	        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
            </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>
                        <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
			<locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
                        <container-invoker-conf>
				<RMIObjectPort>4444</RMIObjectPort>
                                <Optimized>True</Optimized>
                        </container-invoker-conf>
                        <container-cache-conf>
                <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>      
				<cache-policy-conf>
					<min-capacity>50</min-capacity>
					<max-capacity>1000</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>
                        <MaximumSize>100</MaximumSize>
                        <MinimumSize>10</MinimumSize>
                        </container-pool-conf>
                        <commit-option>A</commit-option>
                </container-configuration>

        <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>
                <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
                <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                <!-- CMT -->
                <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</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" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
            </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>
           		<JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
           		<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
           		<MaximumSize>15</MaximumSize>
           		<MaxMessages>1</MaxMessages>
            	<Optimized>True</Optimized>
               <MDBConfig>
                   <ReconnectIntervalSec>10</ReconnectIntervalSec>
                   <DLQConfig>
                     <DestinationQueue>queue/DLQ</DestinationQueue>
                     <MaxTimesRedelivered>5</MaxTimesRedelivered>
                     <TimeToLive>0</TimeToLive>
                   </DLQConfig>
               </MDBConfig>
            </container-invoker-conf>
            <container-pool-conf>
            <MaximumSize>100</MaximumSize>
            <MinimumSize>10</MinimumSize>
            </container-pool-conf>
                </container-configuration>

	</container-configurations>

</jboss>
