private static void startGateways() throws IOException, InterruptedException {
    gatewayA =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolGatewayA.properties"},
            new String[] {User.class.getName()});
    gatewayB =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolGatewayB.properties"},
            new String[] {User.class.getName()});
    gatewayC =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolGatewayC.properties"},
            new String[] {User.class.getName()});

    cacheServerA =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolCacheServerA.properties"},
            new String[] {User.class.getName()});
    cacheServerB =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolCacheServerB.properties"},
            new String[] {User.class.getName()});
    cacheServerC =
        javaProcessLauncher.runWithConfirmation(
            "",
            ServerTemplate.class,
            new String[] {"-DgemfirePropertyFile=checkReplicationToolCacheServerC.properties"},
            new String[] {User.class.getName()});
  }