From: <bst...@jb...> - 2006-05-20 02:57:40
|
Hey Josh, It was good to meet you the other night. Sorry I didn't get a chance to respond to your post earlier. When you asked me about the stability of this, I wasn't thinking in terms of FIELD granularity. I haven't tried FIELD granularity in standalone TC. If you get JBoss AS 4.0.4, in the deploy/tc5-cluster.sar dir there is a tc5-cluster.aop file. You'll need to make sure that's on the classpath. You'll also need jboss-aop.jar on the classpath. If you look at the AS source code, testsuite module, imports/sections/cluster.xml file has the bit of ant script we use when using annoc and aopc to prepare classes for use in the AS tests of FIELD. If the preparation is done the same way and the required jars are on the classpath, the aopc approach should work. For FIELD, and to deal with your CNFE issue, make sure you have <attribute name="UseMarshalling">true</attribute> | <attribute name="InactiveOnStartup">true</attribute> | <attribute name="TransactionManagerLookupClass">org.jboss.cache.BatchModeTransactionManagerLookup</attribute> in your cluster-cache.xml. "InactiveOnStartup" will ensure that a state transfer doesn't occur when a server joins the cluster; rather the state is transferred when the webapp deploys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945050#3945050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945050 |