log.error(msg, e);
throw new ServletException(msg, e);
}
try {
String status = client.validateTenant(tenantDomain);
tenantExists = !StratosConstants.INVALID_TENANT.equals(status);
if (tenantExists && StratosConstants.ACTIVE_TENANT.equals(status)) {
//tenantExists = true;
tenantActive = true;
}