hotrod
jia May 24, 2010 5:38 PMI am playing with hotrod. I am using Beta1. I started server using -r hotrod -c Myconfigurationfile. The server started fine, it seems it creating a Cache I am expecting. Then I started my client. Mclient starts fine, I can put in entries and retrieve them. But after a while, I will receive following exception:
Exception in thread "main" org.infinispan.client.hotrod.exceptions.TransportException: Problems writing data to stream
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.writeByte(TcpTransport.java:101)
at org.infinispan.client.hotrod.impl.HotrodOperationsImpl.writeHeader(HotrodOperationsImpl.java:277)
at org.infinispan.client.hotrod.impl.HotrodOperationsImpl.sendKeyOperation(HotrodOperationsImpl.java:418)
at org.infinispan.client.hotrod.impl.HotrodOperationsImpl.get(HotrodOperationsImpl.java:45)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.get(RemoteCacheImpl.java:249)
at com.cboe.infinispan.hotrodclient.MyHotRodClient.getEntry(MyHotRodClient.java:252)
at com.cboe.infinispan.hotrodclient.MyHotRodClient.main(MyHotRodClient.java:129)
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
at java.nio.channels.Channels.write(Channels.java:60)
at java.nio.channels.Channels.access$000(Channels.java:47)
at java.nio.channels.Channels$1.write(Channels.java:134)
at java.io.OutputStream.write(OutputStream.java:58)
at java.nio.channels.Channels$1.write(Channels.java:115)
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.writeByte(TcpTransport.java:96)
Would anybody please shed some light on this?
Thanks,
Jessica