Hi Deepti, I have applied both the patches for master as well as 3.0.x. Thanks, -Nitin
-----Original Message----- From: Deepti Dohare [mailto:[email protected]] Sent: Thursday, June 14, 2012 11:41 AM To: [email protected] Cc: Alena Prokharchyk; Deepti Dohare Subject: [PATCH 2/2] CS-14345 Fixing for Login API also. Signed-off-by: Deepti Dohare <[email protected]> --- server/src/com/cloud/api/ApiServlet.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/server/src/com/cloud/api/ApiServlet.java b/server/src/com/cloud/api/ApiServlet.java index 1c24191..2d06ef7 100755 --- a/server/src/com/cloud/api/ApiServlet.java +++ b/server/src/com/cloud/api/ApiServlet.java @@ -401,7 +401,8 @@ public class ApiServlet extends HttpServlet { } sb.append(" } }"); } else { - sb.append("<loginresponse>"); + sb.append("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"); + sb.append("<loginresponse cloud-stack-version=\"" + ApiDBUtils.getVersion() + "\">"); sb.append("<timeout>" + inactiveInterval + "</timeout>"); Enumeration attrNames = session.getAttributeNames(); if (attrNames != null) { -- 1.7.4.1
