jubilee
jubilee copied to clipboard
starting in cluster mode throws exception
Hi,
When i try to run jubilee in cluster mode with
jubilee --cluster
i get this exception:
VertxFactoryImpl.java:40:in vertx': java.lang.IllegalArgumentException: Please use Vertx.clusteredVertx() to create a clustered Vert.x instance from Vertx.java:89:in
vertx'
from RubyPlatformManager.java:64:in initialize' from RubyPlatformManager$INVOKER$i$1$0$initialize.gen:-1:in
call'
from JavaMethod.java:783:in `call'
I'm using gem version 3.0.0.beta2-java on jruby 1.7.25 Am I doing something wrong?
Fixed and This is now part of my pull request as well. Right now it waits for 10 seconds for cluster to start which may be good enough for most but I am going to tweak this better