User: slaboure
Date: 02/04/08 09:29:16
Modified: src/resources/testbeancluster/META-INF jboss.xml
Log:
Clustering bean must include the new client and server side interceptors that allows
to explicitely mimic failover at wish.
Revision Changes Path
1.2 +200 -3 jbosstest/src/resources/testbeancluster/META-INF/jboss.xml
Index: jboss.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/testbeancluster/META-INF/jboss.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jboss.xml 9 Jan 2002 23:50:14 -0000 1.1
+++ jboss.xml 8 Apr 2002 16:29:16 -0000 1.2
@@ -1,10 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
+
+ <container-configurations>
+
+ <container-configuration>
+ <container-name>Clustered CMP 2.x EntityBean</container-name>
+ <call-logging>false</call-logging>
+ <container-interceptors>
+ <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor</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.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+ </container-interceptors>
+ <client-interceptors>
+ <home>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <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.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </bean>
+ <list-entity>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </list-entity>
+ </client-interceptors>
+ </container-configuration>
+
+ <container-configuration>
+ <container-name>Clustered CMP EntityBean</container-name>
+ <call-logging>false</call-logging>
+ <container-interceptors>
+ <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor</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.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+ </container-interceptors>
+ <client-interceptors>
+ <home>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <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.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </bean>
+ <list-entity>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </list-entity>
+ </client-interceptors>
+ </container-configuration>
+
+ <container-configuration>
+ <container-name>Clustered Stateless SessionBean</container-name>
+ <call-logging>false</call-logging>
+ <container-interceptors>
+ <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor</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>
+
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+ </container-interceptors>
+ <client-interceptors>
+ <home>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <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.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+
<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>
+ </container-configuration>
+
+ <container-configuration>
+ <container-name>Clustered Stateful SessionBean</container-name>
+ <call-logging>false</call-logging>
+ <container-interceptors>
+ <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor</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>
+
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+
<interceptor>org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor</interceptor>
+ </container-interceptors>
+ <client-interceptors>
+ <home>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <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.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+
<interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </bean>
+ </client-interceptors>
+ </container-configuration>
+
+ <container-configuration>
+ <container-name>Clustered BMP EntityBean</container-name>
+ <call-logging>false</call-logging>
+ <container-interceptors>
+ <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor</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.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+ </container-interceptors>
+ <client-interceptors>
+ <home>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <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.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </bean>
+ <list-entity>
+
<interceptor>org.jboss.ha.framework.test.ExplicitFailoverClientInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+ <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+ <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+ </list-entity>
+ </client-interceptors>
+ </container-configuration>
+
+ </container-configurations>
+
+
+
+
<enterprise-beans>
<session>
- <ejb-name>nextgen.StatelessSession</ejb-name>
- <jndi-name>nextgen.StatelessSession</jndi-name>
- <clustered>true</clustered>
+ <ejb-name>nextgen.StatelessSession</ejb-name>
+ <jndi-name>nextgen.StatelessSession</jndi-name>
+ <clustered>true</clustered>
</session>
<session>
<ejb-name>nextgen.StatefulSession</ejb-name>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development