PS: If I let the test run for longer, the cluster singleton manager will eventually exhaust the number of attempts sending the HandOverToMe and then finally the oldest node will instantiate the singleton:
[INFO] [01/15/2014 11:42:12.022] [SingletonSystem-akka.actor.default-dispatcher-12] [akka://SingletonSystem/user/singleton] Timeout in BecomingOldest. Previous oldest unknown, removed and no TakeOver request. [INFO] [01/15/2014 11:42:12.022] [SingletonSystem-akka.actor.default-dispatcher-12] [akka://SingletonSystem/user/singleton] Singleton manager [akka.tcp://[email protected]:2551] starting singleton actor I even tried adding cluster nodes with a long delay between each other in order to force the cluster singleton manager started on the very first node to actually instantiate the singleton (since it's the only node running for a while) but that didn't work and I got an error: [ERROR] [01/15/2014 12:37:00.099] [SingletonSystem-akka.actor.default-dispatcher-2] [akka://SingletonSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FSingletonSystem%40127.0.0.1%3A2552-0/endpointWriter] AssociationError [akka.tcp://[email protected]:2551] -> [akka.tcp://[email protected]:2552]: Error [Association failed with [akka.tcp://[email protected]:2552]] [ akka.remote.EndpointAssociationException: Association failed with [akka.tcp://[email protected]:2552] Caused by: akka.remote.transport.netty.NettyTransport$$anonfun$associate$1$$anon$2: Connection refused: /127.0.0.1:2552 ] which makes me think maybe there is something else that I'm doing wrong. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
