[jboss-user] [JBossCache] - Invalid stream header and other problems

teknokrat do-not-reply at jboss.com
Fri Dec 8 10:42:27 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992273#3992273

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992273



More information about the jboss-user mailing list