1 Reply Latest reply on Dec 23, 2002 3:36 AM by Sacha Labourey

    Safe way to remove node from a cluster

    Ben Griffiths Newbie

      Hi, all. I have a two-node Jboss cluster, which works both with RoundRobin and FirstAvailable policies.

      However, when I shutdown one of the nodes, my clients receive the message:
      java.rmi.ServerException: RuntimeException; nested exception is:
      java.lang.IllegalStateException: container is not started, you cannot invoke ejb methods on it
      java.lang.IllegalStateException: container is not started, you cannot invoke ejb methods on it
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:
      240)

      I'm looking at Jboss clustering as a way to automatically failover if one of my application servers fails. Is the behaviour I'm seeing expected? If so, is there a safe way to shut down a node? And, do I have to restart all my clients in the case of a failover?

      Am using jboss-3.0.4_tomcat-4.1.12.

      Thanks in advance if anyone can help me.

        • 1. Re: Safe way to remove node from a cluster
          Sacha Labourey Master

          The current 3.0.x design has a delay between which the node is still reachable but the container refuses invocations. This is fixed in 3.2 and HEAD. I am not sure if this will be backported to 3.0 as it is a quite big change that could break stability. I was thinking about "tricks" to avoid this problem though. I do not yet have a "good" solution.

          Cheesr,


          sacha