我有一个带有Spring的Java Web应用程序,我正在使用Hazelcast 3.6来缓存我从数据库服务器检索的大量数据。
使用x数据量,我的服务器和Web应用程序运行正常。但是,当我连接数据库的时间与我使用的数据量相比时,我的Web应用程序似乎在一段时间后崩溃并出现以下行为:
首先服务器加载。 HazelCast服务器加载得很好,我可以将一些数据写入Hazelcast缓存。
运行和缓存一段时间后,当我尝试写一些更多的数据时会出现以下异常
目标[地址[x.x.x.x]:5854]已断开连接
java.lang.IllegalStateException:无法连接到任何地址 配置!尝试了以下地址:[/ x.x.x.x:5854]
您认为发生了什么?
[UPDATE] 这是日志:
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6a3327b9, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@44751927, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60198 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6a3327b9, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@44751927, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@29fa4fd9, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@70904516, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60163 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@29fa4fd9, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@70904516, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60163 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@fa7e116, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@56aa7361, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60338 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@4a08fea, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@49484e05, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60336 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@fa7e116, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@56aa7361, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60338 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@fa7e116, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@56aa7361, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@124404e1, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@2f9c5925, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60213 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@124404e1, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@2f9c5925, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@1930fb2f, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@5ebad794, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60241 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6f3f10f5, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@15727de2, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60337 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6f3f10f5, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@15727de2, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60337 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6f3f10f5, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@15727de2, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@4a08fea, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@49484e05, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60336 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@4a08fea, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@49484e05, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@1930fb2f, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@5ebad794, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60241 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@1930fb2f, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@5ebad794, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@507d11ba, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@4316f39e, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60207 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@41a0a48e, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1993884b, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60218 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@41a0a48e, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1993884b, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60218 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@41a0a48e, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1993884b, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@62c6250d, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@3eaaab24, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60208 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@62c6250d, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@3eaaab24, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@507d11ba, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@4316f39e, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60207 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@507d11ba, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@4316f39e, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@24d9010b, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@22d38c13, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60242 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@24d9010b, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@22d38c13, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6e914541, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@359e71d, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60206 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat failed to connection : ClientConnection{live=true, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@36c9e8a0, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1c77c7a, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:60219 remote=/127.0.0.1:5802]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@36c9e8a0, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1c77c7a, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@6e914541, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@359e71d, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@29fa4fd9, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@70904516, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@63c6728d, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@798aba27, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@49617323, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@1cce2478, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:14 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [/127.0.0.1:5802] lost. Reason: Socket explicitly closed
Sep 26, 2017 12:36:16 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@63c6728d, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@798aba27, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:16 PM com.hazelcast.client.spi.impl.ClientInvocationFuture
WARNING: The Future.set() method can only be called once. Request: ClientMessage{length=39, correlationId=801271, messageType=126, partitionId=-1, isComplete=true, isRetryable=false, isEvent=false, writeOffset=0}, current response: com.hazelcast.spi.exception.TargetDisconnectedException, new response: com.hazelcast.spi.exception.TargetDisconnectedException: Target[Address[135.128.250.146]:5802] disconnected.
Sep 26, 2017 12:36:16 PM com.hazelcast.client.spi.impl.ClientInvocationFuture
WARNING: The Future.set() method can only be called once. Request: ClientMessage{length=52, correlationId=801275, messageType=12d, partitionId=-1, isComplete=true, isRetryable=false, isEvent=false, writeOffset=0}, current response: com.hazelcast.spi.exception.TargetDisconnectedException, new response: com.hazelcast.spi.exception.TargetDisconnectedException: Target[Address[135.128.250.146]:5802] disconnected.
Sep 26, 2017 12:36:16 PM com.hazelcast.client.connection.nio.ClientConnectionManagerImpl
WARNING: Heartbeat is back to healthy for connection : ClientConnection{live=false, writeHandler=com.hazelcast.client.connection.nio.ClientWriteHandler@17d42c7b, readHandler=com.hazelcast.client.connection.nio.ClientReadHandler@6ab44b75, connectionId=1, socketChannel=DefaultSocketChannelWrapper{socketChannel=java.nio.channels.SocketChannel[closed]}, remoteEndpoint=Address[135.128.250.146]:5802}
Sep 26, 2017 12:36:16 PM com.hazelcast.client.spi.ClientPartitionService
WARNING: Error while fetching cluster partition table!
java.util.concurrent.ExecutionException: com.hazelcast.spi.exception.TargetDisconnectedException: Target[Address[135.128.250.146]:5802] disconnected.
at com.hazelcast.client.spi.impl.ClientInvocationFuture.resolveResponse(ClientInvocationFuture.java:146)
at com.hazelcast.client.spi.impl.ClientInvocationFuture.access$000(ClientInvocationFuture.java:38)
at com.hazelcast.client.spi.impl.ClientInvocationFuture$1.run(ClientInvocationFuture.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)
Caused by: com.hazelcast.spi.exception.TargetDisconnectedException: Target[Address[135.128.250.146]:5802] disconnected.
at com.hazelcast.client.spi.impl.ClientInvocationServiceSupport$CleanResourcesTask$1.createNew(ClientInvocationServiceSupport.java:230)
at com.hazelcast.client.spi.impl.ClientInvocationServiceSupport$CleanResourcesTask$1.createNew(ClientInvocationServiceSupport.java:227)
at com.hazelcast.client.spi.impl.ClientInvocationServiceSupport.cleanResources(ClientInvocationServiceSupport.java:174)
at com.hazelcast.client.spi.impl.ClientSmartInvocationServiceImpl.cleanResources(ClientSmartInvocationServiceImpl.java:31)
at com.hazelcast.client.spi.impl.ClientInvocationServiceSupport$CleanResourcesTask.run(ClientInvocationServiceSupport.java:227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)
at ------ End remote and begin local stack-trace ------.(Unknown Source)
at com.hazelcast.client.spi.impl.ClientInvocationFuture.resolveResponse(ClientInvocationFuture.java:133)
... 7 more
答案 0 :(得分:0)
目标已断开连接意味着Hazelcast服务器未连接。 Hazelcast日志应该为您提供集群中发生的事情的详细信息。
答案 1 :(得分:0)
您需要将此与服务器日志相关联,并确定在此连接失败时服务器正在执行的操作。服务器断开连接的一些常见原因是网络故障和GC问题。 gc暂停(如果长度超过配置的阈值)将导致该服务器节点被踢出集群。