deniskuzZ commented on code in PR #5652: URL: https://github.com/apache/hive/pull/5652#discussion_r2009190717
########## common/src/java/org/apache/hive/http/HttpServer.java: ########## @@ -489,13 +496,13 @@ static boolean userHasAdministratorAccess(ServletContext servletContext, /** * Create the web context for the application of specified name */ - WebAppContext createWebAppContext(Builder b) { + WebAppContext createWebAppContext(Builder b) throws FileNotFoundException { WebAppContext ctx = new WebAppContext(); setContextAttributes(ctx.getServletContext(), b.contextAttrs); ctx.getServletContext().getSessionCookieConfig().setHttpOnly(true); ctx.setDisplayName(b.name); - ctx.setContextPath("/"); - ctx.setWar(appDir + "/" + b.name); + ctx.setContextPath(b.contextPath == null ? "/" : b.contextPath); + ctx.setWar(getWebAppsPath(b.name) + "/" + b.name); Review Comment: do we need this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org