Hi,

S4 nodes are designed to run in their own JVM. The system scales by adding more 
nodes, typically on different hosts. You seem to be trying to run multiple S4 
nodes in the same VM. That most probably won't work, because this is not what 
the platform is designed for.

Regards,

Matthieu


On Jun 13, 2013, at 05:47 , baojian Zhou <baojian.zhou.b...@gmail.com> wrote:

> when i started to  run the S4Node.class,  i have changed the main method to a 
> s4Node method and then invoke them 5 times. like this :
> 
> public static String[] commanderNode = new String[] { "-c", "cluster1" };
> for (int i = 0; i < 5; i++) {
>                       S4Node.s4Node(DeployFrameStream.commanderNode);
>               }
> 
> but it always stopped in the first invoke. And then i noticed:
> signalOneAppLoaded.await();
> 
> how can i avoid this situation. 

Reply via email to