-
Bug
-
Resolution: Done
-
Major
-
JDG 7.0.0 GAbacklog
-
None
After a connection failure to a JDG server, normal operations like get and put recovers to work as expected. But a ClientListener stops working. After registering the listener by cache.addClientListener(listener) again, it recovers to work.
13:44:02,017 ERROR [org.infinispan.client.hotrod.event.ClientListenerNotifier] (Client-Listener-f021d770522e4595) ISPN004043: Unrecoverable error reading event from server /127.0.0.1:11222, exiting event reader thread: org.infinispan.client.hotrod.exceptions.TransportException:: java.io.IOException: Connection reset by peer at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:195) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101] at org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101] Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) [rt.jar:1.8.0_101] at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [rt.jar:1.8.0_101] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [rt.jar:1.8.0_101] at sun.nio.ch.IOUtil.read(IOUtil.java:197) [rt.jar:1.8.0_101] at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [rt.jar:1.8.0_101] at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:206) [rt.jar:1.8.0_101] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) [rt.jar:1.8.0_101] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_101] at java.io.BufferedInputStream.read(BufferedInputStream.java:265) [rt.jar:1.8.0_101] at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:190) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1] ... 9 more
- clones
-
JDG-517 ClientListener stops working after connection failure
- Closed