0 Replies Latest reply on Dec 8, 2006 10:42 AM by teknokrat

    Invalid stream header and other problems

    teknokrat

      I have a cluster og two jboss nodes, version 4.0.4GA. They are configured for clustered single sign on. I have set up hibernate to use the TreeCache MBean using PESSIMISTIC locking. Everything work OK as long as the cache mode is LOCAL, but as soon as I set the cache mode to REPL_SYNC/ASYNC I get

      2006-12-08 15:34:15,844 WARN [org.jboss.ha.framework.interfaces.HAPartition.nvp:] failed unserializing message buffer (msg=[dst: 228.1.2.3:45566, src: shlnvp01:1626 (2 headers), size = 125 bytes])
      java.io.StreamCorruptedException: invalid stream header
       at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
       at org.jboss.invocation.MarshalledValueInputStream.<init>(MarshalledValueInputStream.java:74)
       at org.jboss.ha.framework.server.HAPartitionImpl.objectFromByteBuffer(HAPartitionImpl.java:155)
       at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:1071)
       at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
       at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
       at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
       at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
       at java.lang.Thread.run(Thread.java:595)
      
      
      


      I have also set jgroups.marshalling.compatible=true to no avail.

      I haven't got a clue where to go now or whats actually happening. All other values are on their default values.

      thanks