public void stopAll() {
   try {
     stopAllInner();
   } catch (Throwable t) {
     Globals.onException(t);
   }
 }
  public void spawn(
      int processes,
      int maxHeap,
      String frameworkCode,
      ArrayList<ServerInfo> logins,
      String[] args) {

    try {
      for (int i = 0; i < processes; i++) {
        int termPort = 44445 + i;
        Params.setTerminationPort(args, termPort);
        spawnInner(processes, i, maxHeap, frameworkCode, logins, args, termPort);
      }

      iActiveServers = processes;
      this.logins = logins;
    } catch (Exception e) {
      Globals.onException(e);
    }
  }