0 Replies Latest reply on Jun 10, 2010 1:07 AM by praveen.kumar

    Getting org.jgroups.ChannelException after sometime

    praveen.kumar

      I am using Jboss5.1.0 GA.I have two nodes in cluster.while starting 1st node and then second node,the ear being copied from node1 to

      node2 and working fine.But after some time i am getting following in server.log

       

      2010-06-09 04:07:29,395 ERROR [org.jgroups.protocols.pbcast.NAKACK] (Incoming-13,10.1.1.141:46201) sender 10.1.1.141:28736 not found in xmit_table
      2010-06-09 04:07:29,426 ERROR [org.jgroups.protocols.pbcast.NAKACK] (Incoming-13,10.1.1.141:46201) range is null
      2010-06-09 04:07:29,418 ERROR [org.jgroups.protocols.pbcast.NAKACK] (Incoming-9,10.1.1.141:46201) range is null
      2010-06-09 04:07:52,891 ERROR [org.jgroups.blocks.ConnectionTable] (ReceiverThread) failed sending data to 10.1.1.141:7901: java.net.SocketException: Socket closed
      2010-06-09 05:05:19,866 ERROR [org.jgroups.blocks.ConnectionTable] (ReceiverThread) failed sending data to 10.1.1.141:7901: java.net.SocketException: Broken pipe
      2010-06-09 05:05:20,386 ERROR [org.jgroups.blocks.ConnectionTable] (Timer-1,10.1.1.141:7900) failed sending data to 10.1.1.141:7901: java.net.SocketException: Socket closed
      2010-06-09 05:05:20,896 FATAL [org.jgroups.JChannel] (CloserThread) local_addr is null; cannot connect
      2010-06-09 05:05:20,898 ERROR [org.jgroups.JChannel] (CloserThread) failure reconnecting to channel, retrying
      org.jgroups.ChannelException: local_addr is null
              at org.jgroups.JChannel.startStack(JChannel.java:1631)
              at org.jgroups.JChannel.connect(JChannel.java:366)
              at org.jgroups.JChannel$CloserThread.run(JChannel.java:2046)
      2010-06-09 05:05:23,024 ERROR [org.jboss.messaging.core.impl.postoffice.GroupMember] (CloserThread) Caught Exception in MembershipListener
      java.lang.IllegalStateException: org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@350a363c cannot find node ID for address 10.1.1.141:46201

      ................................

      ................................

       

      and after that following exception is contineously coming:

       

      2010-06-09 05:05:51,901 FATAL [org.jgroups.JChannel] (CloserThread) local_addr is null; cannot connect
      2010-06-09 05:05:51,902 ERROR [org.jgroups.JChannel] (CloserThread) failure reconnecting to channel, retrying
      org.jgroups.ChannelException: local_addr is null
              at org.jgroups.JChannel.startStack(JChannel.java:1631)
              at org.jgroups.JChannel.connect(JChannel.java:366)
              at org.jgroups.JChannel$CloserThread.run(JChannel.java:2046)
      ................................

      .................................

      ................... 

       

      I am not able to figure it out  the cause for the same.

       

      help me !!

       

      -Praveen Kumar