Damn the previous reply cut off my config, here it is, Ive cut out 
everything commented out. I just want to start ONE node for now. Here is my 
config actually... come on google you can do this!

akka {
  log-dead-letters-during-shutdown = off
  extensions = [
    "com.romix.akka.serialization.kryo.KryoSerializationExtension$",
    "akka.cluster.metrics.ClusterMetricsExtension"
  ]

  actor {
    provider = "akka.cluster.ClusterActorRefProvider"
    serializers {
      java = "akka.serialization.JavaSerializer"
      proto = "akka.remote.serialization.ProtobufSerializer"
      // FIXME define bindings in code for config.
      kryo = "com.romix.akka.serialization.kryo.KryoSerializer"
    }

    kryo {
      type = "graph"
      idstrategy = "automatic"
      buffer-size = 4096
      max-buffer-size = -1
      use-manifests = false
      post-serialization-transformations = "off"
      kryo-custom-serializer-init = 
"distributed.serialization.SerializationConfigUtil"
      implicit-registration-logging = true
      kryo-trace = false
    }

    default-dispatcher {
      fork-join-executor {
        parallelism-min = 8
        parallelism-factor = 4.0
        parallelism-max = 64
        task-peeking-mode = "FIFO"
      }
    }
  }

  remote {
    log-remote-lifecycle-events = off
    enabled-transports = ["akka.remote.netty.tcp"]
    netty.tcp {
      port = 0
    }
  }

  cluster {
    // FIXME cant use static seed nodes config!
    seed-nodes = []

    metrics {
      enabled = on
      native-library-extract-folder = ${user.dir}/target/native
    }
    sharding {
      guardian-name = sharding
      role = ""
      remember-entities = off
      coordinator-failure-backoff = 5 s
      retry-interval = 2 s
      buffer-size = 100000
      handoff-timeout = 60 s
      shard-start-timeout = 10 s
      shard-failure-backoff = 10 s
      entity-restart-backoff = 10 s
      rebalance-interval = 10 s
      journal-plugin-id = ""
      snapshot-plugin-id = ""
      state-store-mode = "persistence"
      snapshot-after = 1000
      least-shard-allocation-strategy {
        rebalance-threshold = 10
        max-simultaneous-rebalance = 3
      }
      waiting-for-state-timeout = 5 s
      updating-state-timeout = 5 s
      coordinator-singleton = ${akka.cluster.singleton}
      use-dispatcher = ""
    }
  }

  persistence {
    journal {
      plugin = "akka.persistence.journal.leveldb"
      leveldb-shared.store {
        native = off
        dir = "target/shared-journal"
      }
      auto-start-journals = ["akka.persistence.journal.leveldb"]
    }
    snapshot-store {
      plugin = "akka.persistence.snapshot-store.local"
      local.dir = "target/snapshots"
      auto-start-snapshot-stores = ["akka.persistence.snapshot-store.local"]
    }
  }
}





On Sunday, June 12, 2016 at 9:57:29 AM UTC-5, Justin du coeur wrote:
>
> Well, the problem *looks* to me like the cluster isn't joining up at all.  
> So if you don't do auto join, then you need to set that up 
> programmatically.  (Don't recall offhand how that works -- the seed-node 
> approach is usual.)
>
> On Sat, Jun 11, 2016 at 5:38 PM, kraythe <[email protected] <javascript:>> 
> wrote:
>
>> What if I dont want any auto join at all. I took out the seed nodes and I 
>> get the same problem.
>>
>>
>> On Saturday, June 11, 2016 at 2:24:10 PM UTC-5, Rafał Siwiec wrote:
>>>
>>> akka.remote.netty.tcp.port - instead of 0 you should use 2551.
>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
>>>>>>>>>>      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