2 Replies Latest reply on Apr 12, 2007 6:54 PM by Brian Stansberry

    rename cluster but need to annotate all sessession bean with

    Joe Nguyen Newbie

      My jboss version is 4.0.3SP1
      I renamed my cluster name to myDomainCluster and got runtime error indicating not able to find the partition while jboss was starting up.

      I fixed the problem by annotating all of my session beans with
      @Clustered (partition="myDomainCluster"). It worked well, but I don't want to hardcode the cluster name.

      Is there an alternative way not to hardcode the cluster name?

      I tried to get the cluster name from a property file and assigned it to the partition variable but I got the compiler error.

      Any help would be appreciated. Thanks