I get an error message:
10:29:56.116 [vert.x-worker-thread-18] WARN i.v.c.e.i.clustered.ConnectionHolder - Connecting to server localhost:53990 failed
for which I found the discussion: https://groups.google.com/forum/#!topic/vertx/bws3x9-WsV0 where one reply was:
How do you start Vert.x? There's a hostname detection mechanism in the CLI and the Launcher class. If you have your own main class, make sure to set the ClusterHost option correctly.
So i looked for the description in https://vertx.io/docs/vertx-hazelcast/java/
Which says:
When running Vert.x is in clustered mode, you should also make sure that Vert.x knows about the correct interface. When running at the command line this is done by specifying the cluster-host option: vertx run myverticle.js -cluster -cluster-host your-ip-address Where your-ip-address is the same IP address you specified in the Hazelcast configuration. If using Vert.x programmatically you can specify this using setClusterHost.
I don'get this since I was assuming that localhost would be just fine. I am just trying a two node configuration see https://github.com/rc-dukes/dukes/issues/19
What is needed to understand and fix this?
https://github.com/vert-x3/vertx-maven-starter/issues/6
show a scenario where another starter might mess up things. How could i debug this?