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>
Brian -
Thanks for the info. I've been pulled away from the clustering work for a short while and hope to give this advice a try in a couple of weeks : (
I appreciate all of your help. If you're interested in keeping this side-project alive, I can keep you abreast of any findings, etc with regard to FIELD level granularity.
Many Thanks,
Josh Harness
Senior Engineer
Jewelry Televison
Hi,
First of all I am really happy I stumble upon this topic, since right now
I am looking for a solution for clustering a standalone Tomcat instance with a JBoss embedded Tomcat instance, and, by reading this topic, I hope I come upon the right guys.
I would be very grateful if you could help me or point me to the right direction in order to start a configuration like the one above.
I have successfully clustered 2 JBoss embedded Tomcat instances using an Apache web server + mod_jk for forwarding the dynamic requests, but I really got stuck when combining the 2 types of Tomcat instances (standalone + embedded).
Here are my "tools":
JBoss AS 4.0.3SP1
Apache Web Server 2.0.58 + mod_jk 1.2.18 (used for load balancing + session replication)
Tomcat 5.5.15
JDK 1.5.0_04
WinXP Professional SP2.
Many thanks in advanced !