anonymous wrote : So, I have changed it a little bit. journal.prepare is now receiving an
EncodingSupport, and TransactionHolder is aways holding a byte[] representing the XID.
JournalStorageManager later will translate that after load is done.
cheers Clebert.
anonymous wrote : All these kinds of tests should use InVM transport.
Is InVM working? I kept getting a BufferOverflowException!
java.nio.BufferOverflowException
| at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:165)
| at
org.jboss.messaging.core.remoting.impl.ByteBufferWrapper.putBytes(ByteBufferWrapper.java:322)
| at org.jboss.messaging.core.message.impl.MessageImpl.encode(MessageImpl.java:137)
| at
org.jboss.messaging.core.remoting.impl.wireformat.SendMessage.encodeBody(SendMessage.java:101)
| at
org.jboss.messaging.core.remoting.impl.wireformat.PacketImpl.encode(PacketImpl.java:152)
| at
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.doWrite(RemotingConnectionImpl.java:435)
| at
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.access$900(RemotingConnectionImpl.java:161)
| at
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.send(RemotingConnectionImpl.java:825)
| at
org.jboss.messaging.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:261)
| at
org.jboss.messaging.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:129)
| at
org.jboss.messaging.tests.integration.xa.BasicXaRecoveryTest.testBasicSendWithCommit(BasicXaRecoveryTest.java:124)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174898#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...