return err;
}
public String replaceJavaPort(String original) {
String server = StringUtils.substringBeforeLast(original, ":");
ServerPorts serverPorts = getServerPorts();
int port = getLoginConfiguration().isUsingHttps() ?
serverPorts.getDefaultHttpsPort() : serverPorts.getDefaultPort();
return server + ":" + port;
}