Hazelcast addItemListener的例外情况

时间:2016-12-06 21:17:40

标签: java hazelcast

当我尝试从Hazelcast java客户端添加Item监听器时,我得到以下异常:

com.hazelcast.core.HazelcastException: Listener ClientRegistrationKey{ userRegistrationId='d9a09f3b-d56c-43e9-814a-a8f5c6b89ca0'} can not be added to member Member [192.168.1.105]:5702 - 2dc26b1a-dbb4-449a-a7e2-6b8ff9fe1964 
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.register(ClientSmartListenerService.java:102)  
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.access$000(ClientSmartListenerService.java:52) 
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService$1.call(ClientSmartListenerService.java:81) 
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService$1.call(ClientSmartListenerService.java:74) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)

Caused by: java.util.concurrent.TimeoutException
at com.hazelcast.client.spi.impl.ClientInvocationFuture.newTimeoutException(ClientInvocationFuture.java:55)
at com.hazelcast.spi.impl.AbstractInvocationFuture.get(AbstractInvocationFuture.java:197)
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.invoke(ClientSmartListenerService.java:139)
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.register(ClientSmartListenerService.java:95)
... 9 more

请帮忙!怎么解决?

1 个答案:

答案 0 :(得分:-1)

是会员[192.168.1.105]:5702正在运行?