2 Replies Latest reply on Mar 30, 2009 10:43 AM by frankthetank

    MDB and HAJNDI

      Hi all,

      I have clustered application deployed on 2 servers. I am sending messages to a distributed topic over the HAJNDI port. All listeners (subscribers) to the topic on both nodes are receiving all the messages sent, but only one MDB receives the message (the message is not distributed to all MDBs).
      Probably that MDBs don't listen to the HA-JNDI port, any one can help me how to configure my MDB to receive all the messages sent to the cluster?

      I am using JBoss AS 5.0.1 GA.

      Its urgent, I appreciate any help.

      Thanks in advance

        • 1. Re: MDB and HAJNDI
          brian.stansberry

          Are you sure the two nodes are forming a cluster? Have you set the Clustered attribute to true on your topic configuration?

          • 2. Re: MDB and HAJNDI
            frankthetank

            Don't know if it changed in 5.0 but I had noticed that I needed to set the cluster name using -Djboss.partition.name=[partition name] as just setting it in the cluster-service.xml, while it would name the cluster ok and they clusters would find themselves, would cause the farming to not work.