For the next person with this problem, the resolution is that if you even 
run with one node you have to either configure seed nodes, manually or 
programmatically join the cluster for the sharding system to work. My error 
was not specifying the host name exactly in my remoting settings and 
matching that. Also the actor system name must match exactly, in my case 
playFramework 2.5 used the name "application". Here is the relevant parts 
of the fixed config. 

akka {
  actor {
    provider = "akka.cluster.ClusterActorRefProvider"

  }

  # See 
http://doc.akka.io/docs/akka/snapshot/general/configuration.html#config-akka-remote
  remote {
    log-remote-lifecycle-events = off
    enabled-transports = ["akka.remote.netty.tcp"]
    netty.tcp {
      hostname = 127.0.0.1
      port = 2551
    }
  }

  cluster {
    # Configuration of seed nodes. Note that this must match the 
akka.remote.netty settings EXACTLY for the node
    # to join with or it won't work correctly.

    seed-nodes = [
      "akka.tcp://[email protected]:2551"
      "akka.tcp://[email protected]:2552"
    ]

  }
}



-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to