1 Reply Latest reply on Apr 24, 2008 12:26 PM by Brian Stansberry

    Integration testing clustered applications

    Apostol Terziev Newbie

      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

      org.jboss.cache.eviction.EvictionPolicyConfig


      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.