3 Replies Latest reply on Oct 30, 2006 12:16 PM by Brian Stansberry

    Upgrading jgroups

    Matthew Todd Newbie

      I am currently using jboss AS 4.0.3 in the all configuration and am trying to upgrade jgroups to version 2.4CR2 to take advantage of the TCP_NIO functionality, however when I startup the second node in my cluster I get the following exception:

      WARN [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] failed unserializ
      ing message buffer (msg=[dst: <null>, src: 192.168.200.99:7801 (2 headers), size = 492 bytes])
      java.io.StreamCorruptedException: invalid stream header
       at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
       at org.jboss.invocation.MarshalledValueInputStream.<init>(MarshalledValueInputStream.java:60)
       at org.jboss.ha.framework.server.HAPartitionImpl.objectFromByteBuffer(HAPartitionImpl.java:135)
       at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:943)
       at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:623)
       at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:508)
       at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:331)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:763)
       at org.jgroups.JChannel.up(JChannel.java:1078)
       at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:377)
       at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:393)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
       at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:163)
       at org.jgroups.stack.UpHandler.run(Protocol.java:60)
      


      If anyone can offer any help, it would be much appreciated