logger.info("Moving " + localEarFile + " to " + remoteEarFile + " ...");
sshclient.sendFile(localEarFile, remoteEarFile);
logger.info("Moving " + localXmlFile + " to " + remoteXmlFile + " ...");
sshclient.sendFile(localXmlFile, remoteXmlFile);
StringBuilder commandDeploy = new StringBuilder();
commandDeploy.append(CommandUtils.getRemoteAppManageBin()).append(" -deploy");
commandDeploy.append(" -ear ").append(remoteEarFile);
commandDeploy.append(" -deployconfig ").append(remoteXmlFile);