Hello! Have you tried Ignition::StopAll(false); ?
Regards, -- Ilya Kasnacheev чт, 30 авг. 2018 г. в 13:04, F.D. <[email protected]>: > Hi Igniters, > > when in my c++ client I close the connection to the server, after a > computation, I got this error: > > [11:29:51,542][SEVERE][grid-nio-worker-tcp-comm-1-#34][TcpCommunicationSpi] > Failed to process selector key > [...] > java.io.IOException: An existing connection was forcibly closed by the > remote host at > sun.nio.ch.SocketDispatcher.read0(Native Method) > at > sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) > at > sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) > at > sun.nio.ch.IOUtil.read(IOUtil.java:192) > at > sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) > at > org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:1250) > > at > org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2339) > > at > org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2110) > > at > org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1764) > > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at java.lang.Thread.run(Thread.java:748) > > > To close the client I use this statment: > Ignition::StopAll(true); > > Is it possibile to avoid this error? > > Thanks, > F.D. > >
