anchor.diff:  
   <%
   
  -    /*ConfigurationContext configContext =
  -            (ConfigurationContext) config.getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);*/
  +    ConfigurationContext configContext =
  +            (ConfigurationContext) config.getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
       String mgtConsoleUrl = CarbonUIUtil.getAdminConsoleURL(request);
       String cookie = (String) session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
       String appName = (String) CarbonContext.getThreadLocalCarbonContext().getApplicationName();
  
positive.code:         var contextRoot = "<%=appName%>";
          if(tenentId == SUPER_TENENT_ID){
              if((contextRoot === null) || (contextRoot == "") || (contextRoot == 'null')){
                  dashboardUrl = "../../BamLog/index.jag";
              }
              /* else{
                  dashboardUrl = "../../../bamdashboards/index.jag?appName="+contextRoot;
  
negative.code:                 dashboardUrl = "../../../../../"+url;
              }
          } */
          location.href = "https://localhost:9443/log-analyzer/index.jag"; //hard coded for now
      });
  
  </script>