/*
* Now get the list of remote commands.
*/
po.removeDetach();
RemoteCLICommand cmd =
new RemoteCLICommand("list-commands", po, env);
ActionReport report = cmd.executeAndReturnActionReport("list-commands");
List<MessagePart> children = report.getTopMessagePart().getChildren();
List<String> rcmds = new ArrayList<String>(children.size());
for (ActionReport.MessagePart msg : children) {
if (!localnames.contains(msg.getMessage())) {
rcmds.add(msg.getMessage());