Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3290

Cannot use a cluster name other than "ejb"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 10.0.0.CR1
    • 8.0.0.Final
    • Clustering
    • None
    • Hide

      Deploy a clustered session bean using standalone-ha.xml and you will see cluster initialization messages like the following:
      2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) -------------------------------------------------------------------
      2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) GMS: address=bttb206/ejb, cluster=ejb, physical address=192.168.12.190:55200
      2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) -------------------------------------------------------------------
      2014-04-25 13:07:17,403 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool – 56) ISPN000094: Received new cluster view: [bttb206/ejb|0] (1) [bttb206/ejb]
      2014-04-25 13:07:17,409 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool – 56) ISPN000079: Cache local address is bttb206/ejb, physical addresses are [nnn.nnn.nnn.nnn:55200]

      Update the standalone-ha.xml such that:
      <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
      becomes:
      <passivation-store name="infinispan" cache-container="ejb-helloworld" max-size="10000"/>
      <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
      becomes:
      <cache-container name="ejb-helloworld" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">

      Restart wildfly and no cluster initialization messages are displayed.

      Show
      Deploy a clustered session bean using standalone-ha.xml and you will see cluster initialization messages like the following: 2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) ------------------------------------------------------------------- 2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) GMS: address=bttb206/ejb, cluster=ejb, physical address=192.168.12.190:55200 2014-04-25 13:07:15,389 INFO [stdout] (ServerService Thread Pool – 56) ------------------------------------------------------------------- 2014-04-25 13:07:17,403 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool – 56) ISPN000094: Received new cluster view: [bttb206/ejb|0] (1) [bttb206/ejb] 2014-04-25 13:07:17,409 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool – 56) ISPN000079: Cache local address is bttb206/ejb, physical addresses are [nnn.nnn.nnn.nnn:55200] Update the standalone-ha.xml such that: <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/> becomes: <passivation-store name="infinispan" cache-container="ejb-helloworld" max-size="10000"/> <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan"> becomes: <cache-container name="ejb-helloworld" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan"> Restart wildfly and no cluster initialization messages are displayed.
    • Compatibility/Configuration

    Description

      When deploying a clustered session bean the cluster will form only if the cluster name is "ejb". If the standalone-ha.xml is modified to use a different cluster name then the cluster will not form.

      Attachments

        Issue Links

          Activity

            People

              rachmato@redhat.com Richard Achmatowicz
              cstillwell_jira Chris Stillwell (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: