JBoss 4.0.4GA.
Java 5.07
We have a 7 machine cluster.
When we start our cluster, the first machine starts and deploys the application. I think we have some code that brings an entity bean into cache when a service is started.
On each subsequent machine, when we start jboss, the cache discovers the other node and when it transfers the state, we get a NoClassDefFoundError because the machine starting up hasn't deployed the application yet.
My question: Is this a big deal? Will it synch up at another time?
I mean, what happens if you want to add a machine to a all-ready running cluster? You would see the same thing, right?
Thanks for your help,
Michael
Have a look at http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/treecache_marshaller.html, particularly section 8.2. This is a feature added in JBC 1.2.4 (and available in AS 4.0.4) that allows registration of a classloader with a section of the cache, for use in loading custom classes.