Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-924

ClusteredImpl is missing default partition name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AS 4.2.0 GA
    • AS 4.2.0 GA
    • Clustering
    • None
    • Compatibility/Configuration
    • Low

      org.jboss.annotation.ejb.ClusteredImpl's partition property has a default value of null. Effect is, if you deploy a clustered bean without @Clustered, but instead just use <clustered>true</clustered> in jboss.xml, it doesn't work. You also have to include a <cluster-config> element to specify the partition name, even if you just want the default partition.

      Solution is to have the ClusteredImpl.partition default value be ${jboss.partition.name:DefaultPartition} – the same as @Clustered.partition.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: