3 Replies Latest reply on Apr 24, 2003 7:54 AM by Sacha Labourey

    Clustering - Load Balance Fails

    John Tsimikas Newbie

      I am running JBOSS 3.0.6 w/ clustering enabled.
      run -c all

      I have built a network w/ 2 PCs for testing purposes. I can deploy an ejb to the farm directory of either server and it gets undeployed and deployed to the other server.

      I built a test app that executes one of the clustered Session Beans. When I do this I always hit the same server. The Round Robin policy doesn not seem to work. It never load balances.

      I am NOT reusing the remote reference, I obtain a new one every time.

      Does anybody have any idea why the load balancing does not work as I would expect.

      Also, the fail over works but not all the time. I think this depends on which server is shutdown.

      My jndi.properties file looks like this:
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.provider.url=
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


      Please help

      John