[jboss-user] [Clustering/JBoss] - Integration testing clustered applications

controlcho do-not-reply at jboss.com
Fri Apr 11 12:55:23 EDT 2008

I'm not sure if this is the right forum for our problem but here it is anyway:

We're using JBoss 4.2.2GA in a clustered environment. We use SEAM 2.0.0. Everything works more or less fine, but when we ran the automated integration tests, the microkernel spat this out:

  | java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.jboss.annotation.ejb.Clustered.loadBalancePolicy()

This is because we have @Clustered annotations in our session beans.
If I supply the jar that contains the load balance policy classes it complains about not finding 


As I understand it, this class *was* in jboss-cache.jar but it isn't anymore. If I remove the @Clustered annotations the tests run just fine.

How do I run integration tests on clustered applications in general. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143491#4143491

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143491

More information about the jboss-user mailing list