int clusterSize = 1;
checkCluster(clusterName, pluginListName, clusterSize);
checkCluster(clusterName, pluginListName, clusterSize);
JpaNodeInfo nodeInfo = new JpaNodeInfo();
nodeInfo.setName(NODE1);
int serverId = 1;
// int serverId = 0;
nodeInfo.setConnectorInfo("system", "manager", "rmi", "localhost", 1099 + 10 * serverId, "JMXConnector", false);
Map<String, DownloadResults> results = farmGBean.addNode(CLUSTER1, nodeInfo);
if (results.size() != 1) {
throw new IllegalStateException("wrong number of nodes installed to" + results.size());
}
DownloadResults downloadResults = results.get(PLUGIN_LIST1);