3 Replies Latest reply on Jul 15, 2010 9:03 AM by saswata mandal

    Starting Nodes Simultaneously in a Cluster !!

    saswata mandal Newbie

      Hi Experts,

       

           We are trying to start multiple JBoss nodes simultaneously that are to join a cluster , by calling the run batch files for all the nodes, from a single batch file.

       

           While the nodes are started simultaneously , one of the node's console listed the ERROR :-

       

      15:04:30,860 INFO  [DfsPartition] Number of cluster members: 3
      15:04:30,864 INFO  [DfsPartition] Other members: 2
      15:04:30,864 INFO  [DfsPartition] Fetching state (will wait for 30000 millisecon
      ds):
      15:04:30,926 ERROR [DfsPartition] _add failed
      java.lang.NullPointerException
              at org.jboss.ha.framework.server.DistributedReplicantManagerImpl._add(Di
      stributedReplicantManagerImpl.java:622)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
              at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.
      java:1126)
              at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.
      java:654)
              at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator
      .java:544)
              at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:3
      67)
              at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispat
      cher.java:777)
              at org.jgroups.JChannel.up(JChannel.java:1091)
              at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
              at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398
      )
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:15
      8)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:258)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
              at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.FD.up(FD.java:300)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.Discovery.up(Discovery.java:225)
              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
              at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)
              at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:850)
              at org.jgroups.protocols.TP.access$400(TP.java:45)
              at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1296)
              at java.lang.Thread.run(Thread.java:595)
      15:04:31,212 INFO  [DfsPartition] state was retrieved successfully (in 345 milli
      seconds)

       

      Kindly let me know , why we got that error ?

      And how to resolve this issue !!

       

      Thanks & Regards

      Saswata Mandal.