1064 lines
61 KiB
XML
1064 lines
61 KiB
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.1 2006/04/21 17:58:45 jjanke Exp $ -->
|
|
|
|
<jboss>
|
|
<enforce-ejb-restrictions>false</enforce-ejb-restrictions>
|
|
|
|
<!-- start heng sin modification -->
|
|
<invoker-proxy-bindings>
|
|
<!-- A custom invoker for RMI/HTTP -->
|
|
<invoker-proxy-binding>
|
|
<name>stateless-http-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=http</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>
|
|
org.jboss.proxy.ejb.StatelessSessionInterceptor
|
|
</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
</bean>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
<!-- end heng sin modification -->
|
|
|
|
<invoker-proxy-binding>
|
|
<name>entity-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
<list-entity>
|
|
<interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</list-entity>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>clustered-entity-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
<list-entity>
|
|
<interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</list-entity>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>stateless-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>clustered-stateless-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>stateful-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>clustered-stateful-rmi-invoker</name>
|
|
<invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
|
|
<proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
|
|
<proxy-factory-config>
|
|
<client-interceptors>
|
|
<home>
|
|
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</home>
|
|
<bean>
|
|
<interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
|
|
</bean>
|
|
</client-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>message-driven-bean</name>
|
|
<invoker-mbean>default</invoker-mbean>
|
|
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
|
|
<proxy-factory-config>
|
|
<JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
|
|
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
|
|
<CreateJBossMQDestination>true</CreateJBossMQDestination>
|
|
<!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
|
|
<MinimumSize>1</MinimumSize>
|
|
<MaximumSize>15</MaximumSize>
|
|
<KeepAliveMillis>30000</KeepAliveMillis>
|
|
<MaxMessages>1</MaxMessages>
|
|
<MDBConfig>
|
|
<ReconnectIntervalSec>10</ReconnectIntervalSec>
|
|
<DLQConfig>
|
|
<DestinationQueue>queue/DLQ</DestinationQueue>
|
|
<MaxTimesRedelivered>10</MaxTimesRedelivered>
|
|
<TimeToLive>0</TimeToLive>
|
|
</DLQConfig>
|
|
</MDBConfig>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<!-- Uncomment to use JMS message inflow from jmsra.rar
|
|
<invoker-proxy-binding>
|
|
<name>message-driven-bean</name>
|
|
<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>
|
|
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
</endpoint-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
-->
|
|
|
|
<invoker-proxy-binding>
|
|
<name>singleton-message-driven-bean</name>
|
|
<invoker-mbean>default</invoker-mbean>
|
|
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
|
|
<proxy-factory-config>
|
|
<JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
|
|
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
|
|
<CreateJBossMQDestination>true</CreateJBossMQDestination>
|
|
<!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
|
|
<MinimumSize>1</MinimumSize>
|
|
<MaximumSize>1</MaximumSize>
|
|
<KeepAliveMillis>30000</KeepAliveMillis>
|
|
<MaxMessages>1</MaxMessages>
|
|
<MDBConfig>
|
|
<ReconnectIntervalSec>10</ReconnectIntervalSec>
|
|
<DLQConfig>
|
|
<DestinationQueue>queue/DLQ</DestinationQueue>
|
|
<MaxTimesRedelivered>10</MaxTimesRedelivered>
|
|
<TimeToLive>0</TimeToLive>
|
|
</DLQConfig>
|
|
</MDBConfig>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>message-inflow-driven-bean</name>
|
|
<invoker-mbean>default</invoker-mbean>
|
|
<proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
|
|
<proxy-factory-config>
|
|
<endpoint-interceptors>
|
|
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
</endpoint-interceptors>
|
|
</proxy-factory-config>
|
|
</invoker-proxy-binding>
|
|
|
|
<invoker-proxy-binding>
|
|
<name>iiop</name>
|
|
<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>
|
|
<poa>per-servant</poa>
|
|
<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>
|
|
<name>jms-message-inflow-driven-bean</name>
|
|
<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>
|
|
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
|
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
|
|
</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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor</interceptor>
|
|
</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>
|
|
</cache-policy-conf>
|
|
<cache-policy-conf-other>
|
|
<partitions>10</partitions>
|
|
<!-- uncomment to use JDBC java.sql.Statement.executeBatch()
|
|
<batch-commit-strategy/>
|
|
-->
|
|
</cache-policy-conf-other>
|
|
</container-cache-conf>
|
|
<container-pool-conf>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</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.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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
|
|
<interceptor>org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
|
|
</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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
|
|
</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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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.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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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.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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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.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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<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">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor transaction="Container">org.jboss.webservice.server.ServiceEndpointInterceptor</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">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.webservice.server.ServiceEndpointInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
</container-interceptors>
|
|
<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
|
|
<instance-cache></instance-cache>
|
|
<persistence-manager></persistence-manager>
|
|
<container-pool-conf>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
|
|
<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">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor transaction="Container">org.jboss.webservice.server.ServiceEndpointInterceptor </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">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.webservice.server.ServiceEndpointInterceptor </interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
</container-interceptors>
|
|
<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
|
|
<instance-cache></instance-cache>
|
|
<persistence-manager></persistence-manager>
|
|
<container-pool-conf>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</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.StatefulSessionInstanceInterceptor</interceptor>
|
|
<!-- BMT -->
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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>
|
|
<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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</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.StatefulSessionInstanceInterceptor</interceptor>
|
|
<!-- BMT -->
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
|
|
<interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor</interceptor>
|
|
</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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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>
|
|
<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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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>
|
|
<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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
|
|
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
|
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</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.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>
|
|
<MaximumSize>100</MaximumSize>
|
|
</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>
|
|
<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>100</MaximumSize>
|
|
</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>
|
|
<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>100</MaximumSize>
|
|
</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>
|
|
<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>100</MaximumSize>
|
|
</container-pool-conf>
|
|
</container-configuration>
|
|
|
|
</container-configurations>
|
|
|
|
</jboss> |