Properties properties = new Properties();
properties.put("url","http://localhost:8666");
properties.put("user","admin");
properties.put("password","coolgeek");
properties.put("command","updategroup");
properties.put("name","jvmpackage1");
properties.put("maxMemory","256m");
//properties.put("webhosting","0");
//properties.put("maxjvms","1");
String result = NGAPIClient.exec(properties);
|