2 Replies Latest reply on Feb 23, 2007 4:20 AM by Sathish

    Does HA-JNDI provides load balancing ?

    Sathish Newbie

      We tried to setup JBoss clustering/HA-JNDI for JBoss Messaging system, but observed that it provide failovers but not Load balancing.

      Version details : Jboss 4.0.4 AS, Jboss Messaging 1.0.1.SP4

      Summary: We setup two instance of Jboss messaging system with HA-JNDI enabled. There is one publisher(standalone java application) where we configured JNDI provide url as java.naming.provide.url=jbossinstance1:1100, jbossinstance2:1100.

      We observed that when we publish lots of msgs, then all msgs goes to one jboss messaging instant, and not even single msg goes to other instance.
      But, when we stopped messaging instance where all msgs arrives, producer starts sending msgs to the second jboss messaging instance, without any kind of interruption in the producer application.
      So, we found that its provides failovers, but not load balancing.

      We referred the information found in the url for setting up HA-JNDI: http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html
      The information also says that load balancing also supports in JNDI clustering, which is not happening in our setup.

      But, we are aware that Jboss messaging 1.0.1.SP4 doesn't support clustering, but 1.2 start supporting clustering mechanism.

      Clarification :

      1) Doest HA-JNDI with Jboss 4.0.4 AS & jboss messaging 1.0.1.SP4 supports load balancing ? If yes can you pls help us in directing to the right information where we can find the setup details.

      2) If HA-JNDI with jboss messagins 1.0.1 version doesn?t support load balancing, will jboss messaging 1.2, which has clustering feature supports both failovers & load balancing ?

      Thx, Sathish